I have the following PHP MySql query:
$query="SELECT * FROM hosts WHERE php='$isphp' AND asp='$isasp' ORDER BY asp $sort";
The variable $sort is as follows:
$sort = "DESC";
can anyone tell me where i am going wrong with the above query ? i know its somthing to do with the $sort variable.
Thanks,
Mark.