Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
205 lines (160 sloc) 4.26 KB

getAll / PgetAll

Executes the SQL and returns the all the rows as a 2-dimensional array. If an error occurs, false is returned.


$sql:The MySQL query to perfom on the database.

Prepared statements Parameters

PgetAll($sql, $varN)
$sql:The MySQL query to perfom on the database
$varN:The variable(s) that will be placed instead of the ? placeholder separated by a ',' or it can be the method Prepare.


Output of print_r($rs):