Answers for "get array from php to javascript"

PHP
1

copy php array to javascript

var js_array = [<?php echo '"'.implode('","', $php_array).'"' ?>];
Posted by: Guest on March-29-2020

Code answers related to "get array from php to javascript"

Browse Popular Code Answers by Language