Jump to content

Rows


Mooselyn

Recommended Posts

I was wondering, can you and is there a way to execute table query to only list say like the last four rows of the database?

[code]$sql="select * from updates";[/code]

I am not sure how to write the limit and only print last four rows from the database meaning the last four inputs that were inputted into the database.... Hope this makes sense.

Link to comment
https://forums.phpfreaks.com/topic/8226-rows/
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.