Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

copy php array to javascript

var js_array = [<?php echo '"'.implode('","', $php_array).'"' ?>];
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #copy #php #array #javascript
ADD COMMENT
Topic
Name
8+5 =