Codice PHP:
if($login_check 0) {
       
header("Location: index2.php"); 
    }else{
       
header("Location: index.php"); 
    }