$query = mysql_query("some SQL here");
while ($row = mysql_fetch_array($query)) {
        do stuff;
}

Mick

On Tue, 10 Apr 2001, Jacky wrote:

> Hi people
> I am more like ASP programmer and new to PHP, In ASP, when we want to take all 
>records in dayabase to display. After we did  do the query, we call " Do while not 
>RS.EOF ( mean do while not end of record file) , and display record accroding to the 
>query.
> Is there anything that do teh same in PHP??
> cheers
> Jack
> [EMAIL PROTECTED]
> "There is nothing more rewarding than reaching the goal you set for yourself"
> 


-- 
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