Hello,
Im working on a classified listing section, and im having trouble not showing the rows where the date is past the expired date.
Ive tried many different ways and none work.
Im using a TIMESTAMP for the added date, and a TIMESTAMP for expired (if thats right). With the expired date being put in by myself.
Ive tryed putting in the SQL
WHERE date_expires <= '$date_today'
with $date_today being set like date(Ymd)
but it doesnt work. and i have no idea how to do it!
Any help would be great!
Thanks,
Danny