File: |
MyJSON.php |
Role: |
Class source |
Content type: |
text/plain |
Description: |
Class source |
Class: |
MyJSON
Return MySQL query results in JSON format |
Author: |
By Shibly |
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: |
7 months ago |
Size: |
2,233 bytes |
|
|
|