|
|
 |
Re: FN-FORUM: [PHP] Why?
date posted 26th January 2005 17:26
Dom Latter 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.
It's a fairly simple bit of PHP that takes the data from the database
and puts it into an array $details.
(Putting something into an array without specifying an index just puts
it in the next available slot)
Rob
--
www.madmousemedia.co.uk
|
 |
|