Items by Ahmad Al Mulla

MySQLi Database table to JSON By: Ahmad Al Mulla
Free

This package can convert the records of a database table to JSON. It provides an example script that connects to a MySQL database server using the MySQLi extension. The script executes a SQL query to retrieve all rows of a database table into an array, and then it outputs the array as a JSON string that serves as the content of the current HTTP request.

 409    24 # JSON # MySQL # PHP