Login   Register  
PHP Classes
elePHPant
Icontem

Query To JSON: Convert MySQL query results to JSON format

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of L Bharti
Name: L Bharti <contact>
Classes: 1 package by
Country: United States United States
Age: ???
All time rank: 1806236 in United States United States
Week rank: 1722 Up198 in United States United States Up


  Detailed description   Download Download .zip .tar.gz  
This is a very simple class that converts data from MySQL query result to JSON format.

It executes a given MySQL query and extracts the results into a single array.

The class calls the PHP function json_encode to return a string with the whole result set data in the JSON format.

  Classes of L Bharti  >  Query To JSON  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Query To JSON
Base name: querytojson
Description: Convert MySQL query results to JSON format
Version: 0.1
PHP version: 5.2
License: BSD License
All time users: 1315 users
All time rank: 2698
Week users: 0 users
Week rank: 1338 Equal
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Databases Database management, accessing and searching View top rated classes
Group folder image Text processing Manipulating and validating text data View top rated classes
Group folder image Data types Modeling and manipulating data types View top rated classes


  User ratings  
Not yet rated by the users

  Applications that use this package  
No pages of applications that use this class were specified.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example example
Plain text file queryToJson.class.php Class class
Accessible without login Plain text file README Doc. README

Download Download all files: querytojson.tar.gz querytojson.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.