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

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -