unemployment Posted March 30, 2011 Share Posted March 30, 2011 What's the best way to create a news feed? How would you guys do it? Would you have to have a time stamp stored for when each action occurred? Quote Link to comment https://forums.phpfreaks.com/topic/232202-how-to-create-a-news-feed/ Share on other sites More sharing options...
ManiacDan Posted March 30, 2011 Share Posted March 30, 2011 Yes, your items should have timestamps associated with them. Just about every database table should have a create_date column, you'll find some use for it. -Dan Quote Link to comment https://forums.phpfreaks.com/topic/232202-how-to-create-a-news-feed/#findComment-1194469 Share on other sites More sharing options...
unemployment Posted March 30, 2011 Author Share Posted March 30, 2011 Yes, your items should have timestamps associated with them. Just about every database table should have a create_date column, you'll find some use for it. -Dan Yes, unfortunately I am discovering this a little late in the game, but I guess timestamps it is Quote Link to comment https://forums.phpfreaks.com/topic/232202-how-to-create-a-news-feed/#findComment-1194473 Share on other sites More sharing options...
ManiacDan Posted March 31, 2011 Share Posted March 31, 2011 You can make a column in MySQL that will default to the insert time for that record, it should be a pretty easy change for you. -Dan Quote Link to comment https://forums.phpfreaks.com/topic/232202-how-to-create-a-news-feed/#findComment-1195115 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.