Login   Register  
PHP Classes
elePHPant
Icontem

MyJSON: Return MySQL query results in JSON format

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2013-07-24 (1 year ago) RSS 2.0 feedNot yet rated by the usersTotal: 313 All time: 6,534 This week: 1,442Up
Version License PHP version Categories  
myjson 1.0.0GNU General Public Lice...5.3PHP 5, Databases
Description Author  

This class can return MySQL query results in JSON format.

It connects to a given MySQL server using the PDO extension and executes a given SQL query.

The class can return the query result values in JSON format. Optionally it may add line breaks and spaces to make the resulting JSON string more readable.

Picture of Shibly
Name: Shibly <contact>
Classes: 7 packages by
Country: Bangladesh Bangladesh
Age: 29
All time rank: 74113 in Bangladesh Bangladesh
Week rank: 443 Up15 in Bangladesh Bangladesh Down

  Files folder image Files  
File Role Description
Accessible without login Plain text file .gitignore Data Auxiliary data
Plain text file MyJSON.php Class Class source
Accessible without login Plain text file readme.md Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
 100%Total:313All time:6,534
 This week:0This week:1,442Up