PHP Classes

File: README.txt

Recommend this page to a friend!
  Classes of Adnan Siddiqi   MySQL to JSON   ???   Download  
File: ???
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: 19 years ago
Size: 453 bytes
 

Contents

Class file image Download
class name: mysql2json FUNCTION ========= getJSON($result,$num) 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, Thanks Adnan Siddiqi