well I just wonder what would happen when you compare $date with $currentdate
like $date = '2010-08-10'
$currentdate = '2011-08-11'
if $date < $currentdate
"your adopt is able to do something"
I guess what I am confused about is how comparing strings work, because php doesnt know that tho two variables are dates, or at least I dont think it knows.
I will have to look in to it.
|