Accessing data from next row? (mysql)
| From: | Leif K-Brooks | Date: | Mon, 14 Oct 2002 07:30:48 +0000 |
| Subject: | Accessing data from next row? (mysql) | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-22357@lists.php.net to get a copy of this message | ||
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
unauthorized attempt to decrypt it will be prosecuted to the full extent
of the law.