Answers for "how to pass an array from php to javascript"

PHP
2

php array to js

var arrNums = json_encode(<?php echo $arrNums; ?>);
Posted by: Guest on June-22-2020

Code answers related to "how to pass an array from php to javascript"

Browse Popular Code Answers by Language