ok, I'm trying to do a simple login type thing, and I have a scroll down list with the user names, so I have constructed this little if statement.
<?
if (($name != $name1) && ($pass != pass1))
else if(($name != $name2) && ($pass != pass2))
{ header("Location: /admin.php"); }
?>
basically, if the name and pass do not match up, then just refresh the page, but for some reason I always get an error