PHP Classes

Query 2 Array: Extract MySQL query results into arrays

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,077 All time: 3,435 This week: 794Up
Version License Categories
query2array 1.0BSD LicenseDatabases, Data types
Description Author

This is a simple class that can execute a given MySQL SELECT query and build an array with the returned result values.

It provides means to execute the SELECT query and return an array with the result set values and another array with result set column names.

Despite it is simple it can be useful to generate reports in any output format.

Picture of Felippe Piazza
Name: Felippe Piazza <contact>
Classes: 1 package by
Country: Brazil Brazil
Age: 41
All time rank: 2244153 in Brazil Brazil
Week rank: 946 Up57 in Brazil Brazil Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file index.php Example HTML Example
Plain text file sql_class.inc Class The main class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,077
This week:0
All time:3,435
This week:794Up
For more information send a message to info at phpclasses dot org.