Code:
$query="SELECT * FROM malloysGigs ORDER BY date WHERE active='1' DESC Limit 1";
The above is the query I put at the beginning of my code. I personally can't see anything wrong with it... can you?
When i don't have rge WHERE syntax it works fine, but I need want it to show only the rows in the database where the active equals 1.
Any help?
Make Sense? I hope so (-: