RE: [PHP] PHP/MySQL question
| From: | Wizaerd) | Date: | Tue, 30 Jan 2001 00:31:14 +0000 |
| Subject: | RE: [PHP] PHP/MySQL question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-37192@lists.php.net to get a copy of this message | ||
// loops through the entire recordset
while( $qrResults = mysql_fetch_array( $rQuery )) {
print( $qrResults["SomeField"]
}
// reset the recordpointer to the first record
mysql_data_seek( $rQuery, 0 );
Joseph E. Sheble
a.k.a. Wizaerd
Wizaerd's Realm
Canvas, 3D, Graphics,
ColdFusion, PHP, and mySQL
http://www.wizaerd.com
=================================
> -----Original Message-----
> From: Julia A . Case [mailto:julie@MageNet.com]
> Sent: Monday, January 29, 2001 4:15 PM
> To: php-general@lists.php.net
> Subject: [PHP] PHP/MySQL question
>
>
> Is it possible to move through an array that is returned as a recordset
> and then move back to the beginning of the array.
>
> Julia
>
> --
> [ Julia Anne Case ] [ Ships are safe inside the harbor, ]
> [Programmer at large] [ but is that what ships are really for. ]
> [ Admining Linux ] [ To thine own self be true. ]
> [ Windows/WindowsNT ] [ Fair is where you take your cows to be judged. ]
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
>