// 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:[EMAIL PROTECTED]]
> Sent: Monday, January 29, 2001 4:15 PM
> To: [EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to