Php loading to next page using if statement

hello guyz i have a problem loading to next page of my works, this is the code…

<form name=“form1” method=“post” action=“submit.php”>
<input type=“text” name=“user” size=“15”>
<input type=“text” name=“pass” size=“15”>
<input type =“submit” value=“send”>
$user = “myuser”;
$pass = “mypass”;
if ($tx1t==$user And $txt2==$pass){
//after verification i want to go to the nxt page if
//statement returns true
else { echo"user or password invalid"}