My out keeps going to “Everything works!” even when I deliberately leave $stat or $file empty
[php]
$solo = $_POST[‘solo’];
$stat = $_POST[‘stat’];
$file = $_FILES[“file”][“name”];
$category = $_POST[‘category’];
if ($solo == “solo” || $solo == “Solo” || $solo == “SOLO” && !empty($stat) && !empty($file)) {
echo “Everything works!”;
} else {
echo “That’s no moon!”;
}
[/php]
I’m not getting any syntax errors. What could be the problem?