i have 4 strings in my application like this that i want to pass to my js file
$a1=\'[10,20,13,14]\'; $a2=\'[17,15,14,16]\'; $a3=\'[18,24,16,17]\'; $a4=\'[15
Use json_encode on the php side and pass the data back that way http://us3.php.net/manual/en/function.json-encode.php