if( $_POST['submit']="Trimite") {
if( $_SESSION['security_code'] == $_POST['security_code'] && !empty($_SESSION['security_code'] ) )
{
$err="Mailul a fost trimis.Va multumim!";
unset($_SESSION['security_code']);
require("email.php");
}
else {
// Insert your code for showing an error message here
//echo 'Ati completat incorect codul se securitate';
$_SESSION['mesaj_err']= 'Ati completat incorect codul se securitate';
}
}
?>