Login   Register  
PHP Classes
elePHPant
Icontem

Class: Query To JSON

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of L Bharti  >  Query To JSON  >  Download .tar.gz .zip  >  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
Related classes: , , , , , , ,
Version: 0.1
PHP version: 5.2
License: BSD License
All time users: 862 users
All time rank: 3303
Week users: 1 user
Week rank: 2467
Picture of L Bharti
Author: L Bharti <e-mail contact>
Packages: 1 Browse this author's classes Browse this author's classes
Country: United States United States - PHP jobs in United States
Age: ???
All time rank: 1988263 in United States United States
Week rank: 1634 Up206 in United States United States Up


  Detailed description  
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.

 

  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

  Rate classes User ratings   Applications   Files Files  

  User ratings  
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
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
Plain text file example.php Example example
Plain text file queryToJson.class.php Class class
Plain text file README Doc. README

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.