Login   Register  
PHP Classes
elePHPant
Icontem

File: README.txt

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 8 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