John W. Holmes wrote:

Change that to:

$array = array();
$results  = mysql_query( $sql, DB::connect() );
while($data = mysql_fetch_array($result))
{ $array[] = $data; }

return $array;

Would there be any speed/performance issuse with using something like...

array_push ( $array, $data );

vs.

$array[] = $data;

--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to