kidintraffic Posted April 29, 2007 Share Posted April 29, 2007 Is there a way to sort the output of a SELECT statement by the time the data of a form was entered or updated? I don't have a date or time field in my database. I just want my user to view their most recent entries at the top of a page. Link to comment https://forums.phpfreaks.com/topic/49205-sort-by-time-created-or-updated/ Share on other sites More sharing options...
Mr. R Posted April 29, 2007 Share Posted April 29, 2007 I think you must make a time field, then when you enter the data use the timestamp function and enter it in, then when you select it, order it by its time entered. Link to comment https://forums.phpfreaks.com/topic/49205-sort-by-time-created-or-updated/#findComment-241092 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.