I am trying to learn incorporate some jQuery EasyUI and i am looking at the sample, however, they have PHP for the scripts.
This is the code in PHP
- $rs = mysql_query('select * from users');
- $result = array();
- while($row = mysql_fetch_object($rs)){
- array_push($result, $row);
- }
-
- echo json_encode($result);
|
I know how to get the data into a cursor or an array in VFP from my SQL,
however, the echo json_encode($result);
anyone know what is the equivalent of that in VFP/FoxWeb script?