Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

dump php array into javascript array

//in js do this
var masterarray =  <?php echo '["' . implode('", "', $masterarray) . '"]' ?>;
Source by www.codexworld.com #
 
PREVIOUS NEXT
Tagged: #dump #php #array #javascript #array
ADD COMMENT
Topic
Name
1+6 =