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,078 This week: 1All time: 3,455 This week: 560Up
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: 44
All time rank: 2265154 in Brazil Brazil
Week rank: 411 Up35 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,078
This week:1
All time:3,455
This week:560Up