Re: FN-FORUM: [PHP] Why?
date posted 26th January 2005 17:41
It basically does through each result from the mysql query (not
included in your sample) and adds it to the $details array. Basically,
mysql_fetch_array will return false when it runs out of results,
otherwise it'll return the results (row by row) in the form of an
array.
HTH, Joe.
On Wed, 26 Jan 2005 09:12:41 -0800 (PST), Dom Latter
[EMAIL REMOVED] wrote:
> Fronm a site I maintain, but did not develop:
>
> while( $data = mysql_fetch_array( $result ) ) {
> $details[] = $data;
> }
>
> If you're wondering, $details is unset up to this point.