我需要一点点的帮助,这:如何做这种形式值的检查?
一个有form.php的:现在
<?php
<form name="create" method="post" action="done.php">
<input type="email" name="email" class="cform" required />
<input type="submit" name="submit" />
</form>
?>
,在done.php我:
<?php
$email = $_POST['email'];
$OtherVar = [email protected];
?>
我的问题是,如何确定如果“$ email”等于“$ OtherVar”但没有退出form.php?
如果“$ email”=“$ OtherVar”允许用户发送表单。
如果“$ email”不是=“$ OtherVar”会向用户显示一条消息。
希望你有understad我的问题,你能帮帮我,对不起,我的英语和感谢:)
** **的Javascript大 – Xatenev