Answers for "how to send result array in javascript variable"

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 "how to send result array in javascript variable"

Browse Popular Code Answers by Language