I can't get it to work properly. I have 2 dates. 1st one, i try to select the date from 2 days ago and the 2nd date is the date of the application. I have stored the date of the application in the database named dateadded.
The following:
$date=date("Y-m-d")-2 days;
sql="SELECT * FROM table WHERE dateadded>$date";
So i try to select everything from 2 days ago.
Thanks for any help.