Hi all,
How do I echo out double quotes in the below?
echo 'var js_id_array['.$i.']='.$id_array[$i];
Want it to print out this...
var js_id_array[0]="2"
Thanks.
echo 'var js_id_array['.$i.']="'.$id_array[$i].'"'; echo "var js_id_array[$i]=\"".$id_array[$i]."\"";
Well, you could include them in the string:
echo 'var js_id_array['.$i.']="'.$id_array[$i] . '"';