If statement not working


#1

My code is below

[php]if ( $inserted_pass == $db_password )
{ include “redirect_code.php”
}
else { print “login error, please click the back on your browser and retry”;
}[/php]

For unknow reasons I am getting the below area

Parse error: parse error, unexpected T_VARIABLE 

Please advice


#2

sorry the above code is messed here it is

[php]if ( $inserted_pass == $db_password )
{ include “redirect_code.php”
}
else { print “login error, please click the back on your browser and retry”;
}[/php]


#3

you forgot to terminate your include function. :wink: