Answers for "send array in javascript function using php"

PHP
0

dump php array into javascript array

//in js do this
var masterarray =  <?php echo '["' . implode('", "', $masterarray) . '"]' ?>;
Posted by: Guest on November-02-2020

Code answers related to "send array in javascript function using php"

Browse Popular Code Answers by Language