On 4/10/01 6:22 AM, "Jacky" <[EMAIL PROTECTED]> 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"
> 


sure, 

while ($row = ODBC_fetch_into($result) {}

will loop through every result record found, putting the contents of each
record into an array, $row.

see the www.php.net/manual

for a general overview of the language


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