Forum Moderators: coopster
I have a date field in mysql with 2008-002-22.
And, I would like to retreive all data in the table that is less than the current data at the time of queries...
I have been messing around with the bottom code.. But, I can't seem to get anything working. Could any of you help?
Thanks.
$result = $connector->query('SELECT * FROM table WHERE 'date' < 'current_date');