/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
foreach($array as $key=>$value) { echo "js_array['$key'] = '$value';\n"; }
foreach($array as $key=>$value) { echo "js_array['$key'] = '$value';\n"; }