Hello everyone!
I have dates stored in a database table in the format of 2001-09-26
$today=date('Ymd');
I am using a SELECT statement to say SELECT * WHERE GameDate> $today
The problem is I need to have GameDate in the format of 20010901, rather than 2001-09-01. Can I somehow do this right in the SELECT statement?
I tried comparing todays date in format of 2001-11-09 to GameDate 2001-09-26 but it doesn't work.
Any Ideas?? Thanks in advance for your help!!