Jump to content

result +1


adzie

Recommended Posts

Hello folks,

 

I want to display the next available row in my DB, I can get it to display the last row but want it to show that +1 ie the next available row.  Any thoughts

 

					$qry = "SELECT * FROM user ORDER BY user_id DESC LIMIT 1"; 
					$res = mysql_query($qry);
					$row = mysql_fetch_array($res);

Link to comment
https://forums.phpfreaks.com/topic/101727-result-1/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.