[PHP-DB] Accessing data from next row? (mysql)

2002-10-14 Thread Leif K-Brooks
Using mysql, how do I access the data of the next row using code something like this: $result = mysql_query(select column from table where whatever='whatever'); while($array = mysql_fetch_array($result)){ //Whatever } -- The above message is encrypted with double rot13 encoding. Any

RE: [PHP-DB] Accessing data from next row? (mysql)

2002-10-14 Thread John W. Holmes
Using mysql, how do I access the data of the next row using code something like this: $result = mysql_query(select column from table where whatever='whatever'); while($array = mysql_fetch_array($result)){ //Whatever } Each iteration of the while loop will fetch a row for you and it's

RE: [PHP-DB] Accessing data from next row? (mysql)

2002-10-14 Thread Snijders, Mark
]] Sent: maandag 14 oktober 2002 9:47 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP-DB] Accessing data from next row? (mysql) I know that, but what if I need to access data from the next row? If I have 3 rows, is there a way to access something from row 3 while the loop is in row

RE: [PHP-DB] Accessing data from next row? (mysql)

2002-10-14 Thread John W. Holmes
PROTECTED]] Sent: Monday, October 14, 2002 3:47 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP-DB] Accessing data from next row? (mysql) I know that, but what if I need to access data from the next row? If I have 3 rows, is there a way to access something from row 3 while

RE: [PHP-DB] Accessing data from next row? (mysql)

2002-10-14 Thread olinux
that.. but i can't comup with something where you need something like that.. a strange idea...? -Original Message- From: Leif K-Brooks [mailto:[EMAIL PROTECTED]] Sent: maandag 14 oktober 2002 9:47 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP-DB] Accessing data from