PHP Classes

Optional update for _fetchArray function

Recommend this page to a friend!

      Auto-Paging  >  All threads  >  Optional update for _fetchArray function  >  (Un) Subscribe thread alerts  
Subject:Optional update for _fetchArray function
Summary:If you can optimize the _fetchArray function
Messages:2
Author:Andres Separ
Date:2014-07-11 20:28:59
 

 


  1. Optional update for _fetchArray function   Reply   Report abuse  
Picture of Andres Separ Andres Separ - 2014-07-11 20:28:59
public function _fetchArray($query){
if(mysql_num_rows($query) > 1){
while ( $row = mysql_fetch_array($query) ){
$fetch[] = $row;
}
return $fetch;
}else{
return false;
}
}

  2. Re: Optional update for _fetchArray function   Reply   Report abuse  
Picture of rafi randoni rafi randoni - 2015-01-09 04:25:23 - In reply to message 1 from Andres Separ
Hi..
Thanks.. I Have updated the class...
Haven't noticed that before..
Thanks..

 
For more information send a message to info at phpclasses dot org.