Re: SQL Functions

From: Date: Tue, 10 Aug 2004 15:33:12 +0000
Subject: Re: SQL Functions
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-193291@lists.php.net to get a copy of this message
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 john@kegworks.com

« previous php.general (#193291) next »