Q:

DESC wont work — "expects parameter to be 1"

Possible Duplicate:
mysql_fetch_array() expects parameter 1 to be resource, boolean given in select 

When i try so sort my output to DESC, i get this error:
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in

This is my line:
$queryForWall = mysql_query("SELECT * FROM users_wall WHERE uID = '$showU[id]' DESC");
while($displayWall = mysql_fetch_array($queryForWall)){

As you can see i added DESC there, but I keep receiving error. 

A:

DESC by itself isn't valid. 
You need
ORDER BY <some column or expression> DESC

More generally, you should devise some way to tell when a SQL query is wrong. 
Perhaps something like:
<? PHP
$result = mysql_query('<some sql query>');
if (!  $result){
     $error = mysql_error();
     //do something with $error, like logging it, using it with trigger_error, etc
}
while($row = mysql_fetch_array($result)){
    // process results normally
}

