Answers for "string php array format convert to js object"

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 "string php array format convert to js object"

Browse Popular Code Answers by Language