The WHERE 1=1 is to specify a "where" statement. Otherwise, you'll need to do some more calculations to decide if your other statements should be "and" statements or a "where" statement.
#1 problem:
if(isset($_POST['uname'])) {
$sql .= "AND user LIKE '%$uname%'
}
You forgot to close the $sql quote there with ";
#2 problem:
Your conditional statements are using the wrong operator. You should be using if(blah == that), but you're using if(blah = that), which sets them.
#3 problem:
Your $big = "all" statement should be like this:
if($big == "any") {
$sql .= "AND (big="on"
OR big="off")";
}
HTH