PHP Classes

File: README.txt

Recommend this page to a friend!
  Classes of Adnan Siddiqi  >  MySQL to JSON  >  README.txt  >  Download  
File: README.txt
Role: Documentation
Content type: text/plain
Description: Help File
Class: MySQL to JSON
Convert data from MySQL query results into JSON
Author: By
Last change:
Date: 15 years ago
Size: 453 bytes


Class file image Download
class name: mysql2json


The method which returns sql returned data from MYSQL database into JSON format.It takes two parameters:

a)$result:resultset data returns from mysql_query() method.
b)$num:Number of affected rows.Usually value returns from mysql_affected_rows().

If you find this piece of code useful, and need enhancements or find bugs... please do write to me,


Adnan Siddiqi
For more information send a message to info at phpclasses dot org.