while($row = mysql_fetch_array($result)){ echo $row['id'];}
If I use the above code two times consecutively, the row does not get printed twice.
How to reset it?
use mysql_data_seek. This function will allow you to move the internal result pointer.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With