首页 > 解决方案 > 我正在尝试将表单中文本字段中的电子邮件地址发布到以下页面

问题描述

一方面,我在 Microsoft 和 VBScript 和 Linux 和 PHP 之间“过渡”,所以我接受我遗漏了一些东西。表单操作发生在提交时,但我丢失了文本字段中的值。

<form name="frmDetail" method = "POST" action = "e-mail.php">
<input name = "$eMail[]" required> eMail Address</><br>
and after the form I have the following PHP code
<?PHP if (!empty($_REQUEST["$email"])){?>
<?PHP $_SESSION['sendTo'] = $REQUEST['$email'];?>
<?PHP echo $SESSION['sendTo'];}?>

我应该从哪里开始寻找任何想法?

标签: php

解决方案


推荐阅读