Re: PHP and MySQL result set navigation

2001-06-05 Thread Steve Edberg
27;s the way you do it. Put it into a 2D array or even better, a >class. That's if you are familiar with OOP. > >- Original Message - >From: "Marco Bleeker" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Monday, June 04, 2001 6:57 >S

Re: PHP and MySQL result set navigation

2001-06-03 Thread Rolf Hopkins
Yep, that's the way you do it. Put it into a 2D array or even better, a class. That's if you are familiar with OOP. - Original Message - From: "Marco Bleeker" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 04, 2001 6:57 Subject: PHP and M

PHP and MySQL result set navigation

2001-06-03 Thread Marco Bleeker
I do something like this, where $result is the result of a mysql_query(): This is to fill one column on screen. Now I would like to do the same for the second column: if ($row[col] == 2). But the $result pointer has moved to the end. How to move it back to the start again? reset() won't work,