Forum Moderators: coopster
Here is the query I want to accomplish:
$query = "SELECT * FROM Links,Stores WHERE Links.store = Stores.storename AND WHERE DATE_SUB(CURDATE(),INTERVAL 5 DAY) <= entry AND entry <= '$today' AND expire > '$today' ORDER BY store ASC";
I run into issues when I add the following....
"AND WHERE..."
Any advice?
Thanks!