Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Passing PHP Arrays to JavaScript

var ar = <?php echo '["' . implode('", "', $ar) . '"]' ?>;
Source by www.dyn-web.com #
 
PREVIOUS NEXT
Tagged: #Passing #PHP #Arrays #JavaScript
ADD COMMENT
Topic
Name
1+5 =