[jQuery] ParseJSON from array php to array javascript
Hi
i'm using Mark pluging json.js but i get error when i use ParseJSON,
may i'm not writting right the syntaxis.
I get in a array all the arrows from a table, then i convert to json
(using json.php) , and tI ry to convert to an array in javascript.
$aCambios = mysql_fetch_all ($resultCamb ) ;
$myjson = $json->encode($aCambios);
echo "<script>";
echo " var arrayCambios = StringJ.parseJSON('" . $myjson . "');";
thanks in advance.
David