Revision: 37551
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at December 11, 2010 17:52 by whak
Initial Code
foreach($array as $key=>$value) { echo "js_array['$key'] = '$value';\n"; }
Initial URL
Initial Description
Initial Title
PHP Array into Javascript Array with JSON
Initial Tags
javascript, php, array, json
Initial Language
PHP