I'm trying to write a simple little event list (not a calendar, just a list of events). But I want the items to drop off when the event passes. I assume the code will be based on the user's computer clock.
Something like select all dates => than today. (I'm new to writing my own code, so please bear with me. I usually rely on the good peoples at phpBuilder.com to supply me with what I need).
Would it be something like:
"SELECT *, DATE_FORMAT(date, '%m-%d-%Y') AS date_format from $TableName where date => TODAY ORDER BY date desc"
What is the correct syntax for the "today" part and the "=>" part?
Thanks!
Kathy