I have this
$order = $_POST['order'];
$query = mysql_query("select wins from $usertable where id='$id' ORDER BY '$order' DESC");
Now the $order echoes properly but the $query doesn't return anything after returning it properly. Can anyone help me understand why ?