This question already has an answer here:
I want set req_status = "UNDONE"
. Did I declare in sql correctly? I'm new . It says Warning: mysql_fetch_array()
expects parameter 1 to be resource, boolean given in
$res = mysql_query("SELECT * FROM request WHERE req_user = '$un',req_status = 'UNDONE' ORDER BY req_status DESC,req_important ASC,req_dateReceive DESC ");
</div>