PHP Classes

File: MyJSON.php

Recommend this page to a friend!
  Classes of Shibly  >  MyJSON  >  MyJSON.php  
File: MyJSON.php
Role: Class source
Content type: text/plain
Description: Class source
Class: MyJSON
Return MySQL query results in JSON format
Author: By
Last change: changed the db credentials
Done. You can indent the json by supply true as second parameter to the method.
A little improvement
Got the results with some nice fatal error :)
counted the number of rows and got the field names
initial commit to dev branch
Date: 9 months ago
Size: 2,233 bytes

You need to be a registered user and login to get this file.

Login Immediately with your account on:

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