Is it possible to run a query using php and mysql that selects anything less than or equal to todays date?
so far I have this:
But that just displays anything from today / NOW. It seems to be disregarding the <= bit.
Any help... im sure this is pretty simple.
so far I have this:
PHP:
$query="SELECT *
FROM lsql_Links
WHERE (Status=200 OR Status=201)
AND isValidated='No'
AND Links.isActive='Yes'
AND Add_Date <= NOW()";
But that just displays anything from today / NOW. It seems to be disregarding the <= bit.
Any help... im sure this is pretty simple.