Hey guys, I am no pro in PHP or MySQL, I usually develop in ASP / ASP.NET with SQL Server or Access.
I have the following query, and I need to add a condition to the where clause to check if the date is less than 24 hours old. Any help would be greatly appreciated.
[code=mysql]
SELECT link_comments, link_author, link_status, link_randkey, link_category, link_date, link_votes, link_karma, link_published_ date FROM tblLinks WHERE link_id = $id[/code]
Thanks
I have the following query, and I need to add a condition to the where clause to check if the date is less than 24 hours old. Any help would be greatly appreciated.
[code=mysql]
SELECT link_comments, link_author, link_status, link_randkey, link_category, link_date, link_votes, link_karma, link_published_ date FROM tblLinks WHERE link_id = $id[/code]
Thanks
Comment