Here's my challenge:
I am trying to build a PHP query within a loop that compares a date in a row (i.e. row${PaidDate}) with today's date, then displays an image based on whether this paid date is later than today or not.
Here's the logic I think I need to follow, but I don't know enough PHP to make it happen:
Get row date (I'll call it "PaidDate")
Get today's date
Compare dates
If today's date is earlier than PaidDate, then display image1
else
display image2
That's all. If anyone can help, I sure would appreciate it!!! Thank you!
hatmaster
BTW: I'm using PHP 4.3.6 and mySQL 4.0.17