I want to convert my database query's result array to JSON format in PHP. Here is my code:
$row = mysql_fetch_array($result)
I want to convert $row to JSON format and pass the JSON data to a jQuery plugin.
I want to convert my database query's result array to JSON format in PHP. Here is my code:
$row = mysql_fetch_array($result)
I want to convert $row to JSON format and pass the JSON data to a jQuery plugin.