Login   Register  
PHP Classes
elePHPant
Icontem

SQL Object: Retrieve MySQL query results as array objects

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  
2012-01-15 (2 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 331 All time: 6,348 This week: 1,492Up
Version License PHP version Categories  
sql-object 1Freely Distributable5PHP 5, Databases, Data types
Description Author  

This class can retrieve MySQL query results as array objects.

It takes a SQL query as parameter and executes that query on a MySQL database.

The class provides an array interface that lets you traverse each result set row like array rows.

The result row columns can be retrieved as object variables.

Picture of Thomas
Name: Thomas <contact>
Classes: 1 package by
Country: United States United States
Age: 27
All time rank: 3314403 in United States United States
Week rank: 1723 Up194 in United States United States Up

  Files folder image Files  
File Role Description
Files folder imageExample (2 files)
Plain text file SQL_Object.inc Class Main class file.

  Files folder image Files  /  Example  
File Role Description
  Accessible without login Plain text file Example.php Example Example usage
  Accessible without login Plain text file Forum.sql Data Forum SQL Import

 Version Control Unique User Downloads Download Rankings  
 0%Total:331All time:6,348
 This week:0This week:1,492Up