PHP Classes

Query 2 Array: Extract MySQL query results into arrays

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,078 All time: 3,455 This week: 455Up
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

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,078
This week:0
All time:3,455
This week:455Up