Converting PHP result array to JSON -


I want to convert my result array into PHP in JSON format Here's my code:

  $ row = mysql_fetch_array ($ result)  

I convert $ row to JSON format Wish and pass JSON data into a jQuery plugin

json_encode is available in Php> 5.2.0:

echo ($ line);


Comments

Popular posts from this blog

objective c - iPhone and it's wireless area -

unix - Listing all shared memory segments used by a process on AIX5.3+ -

tsql - Correct sql/hql query (aggregate in where clause) -