note 104213 deleted from function.mysql-fetch-row by thiago
| From: | thiago@php.net | Date: | Wed, 01 Jun 2011 12:53:51 +0000 |
| Subject: | note 104213 deleted from function.mysql-fetch-row by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-180159@lists.php.net to get a copy of this message | ||
Note Submitter: vester_205 at hotmail dot com
----
@ryhan_balboa
This may be a bit late but I think it can still be usefull..
To get to the next row using mysql_fetch_row() you just parse it again so like:
<?php
$query = "SELECT * FROM example";
$data = mysql_query($query);
$datafirstrow = mysql_fetch_row($data);
$datasecondrow = mysql_fetch_row($data);
$datatirthrow = mysql_fetch_row($data);
?>
Hope this helps,
Ronald