Siaplaying most recent rows
Posted: Sat Mar 29, 2003 12:12 pm
Hello.
If I want to display a most recent row from a database table, how would I do that? All rows would have a MySQL timestamp and an ID. There is a array_pop function, but it is not very accurate and only gives the last row. If I need five last rows, how would I do that?
Thanks.
If I want to display a most recent row from a database table, how would I do that? All rows would have a MySQL timestamp and an ID. There is a array_pop function, but it is not very accurate and only gives the last row. If I need five last rows, how would I do that?
Thanks.