dannybrazil Posted March 24, 2008 Share Posted March 24, 2008 Hello i wanted to know how can i create something like in this site : http://saopaulo.en.craigslist.org/roo/ basicaly i want to show <th> with the DATE posted and all the posts that been added to the site that day and so on.... i know it is complicated but maybe someone can direct me thanks alot Link to comment https://forums.phpfreaks.com/topic/97650-sorting-by-date-in-a-table/ Share on other sites More sharing options...
monkeytooth Posted March 24, 2008 Share Posted March 24, 2008 Over all, the concept is easy.. what you should do or in my opinion atleast.. is add atleast one more row to your table that stores your posts.. and have a your code insert a timestamp http://us2.php.net/time (php.net manual for basic info on it) then from there its all Dependant on the coding of your choice of how to display the info from the file that pulls it and displays it from the database. Note any and all current posts without a timestamp, this wont work for, unless you insert manually a time stamp.. Link to comment https://forums.phpfreaks.com/topic/97650-sorting-by-date-in-a-table/#findComment-499645 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.