How can I compare two dates in PHP?
The date is stored in the database in the following format
2011-10-2
If I wanted to
in the database the date looks like this 2011-10-2
Store it in YYYY-MM-DD and then string comparison will work because '1' > '0', etc.