php - 我正在尝试将表单中文本字段中的电子邮件地址发布到以下页面
问题描述
一方面,我在 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'];}?>
我应该从哪里开始寻找任何想法?
解决方案
推荐阅读
- python - 用于 Python 的基于文本(控制台)的 UI
- python - python中一/两个pdf页面上的几个图
- c# - Selenium Sendkeys 包含
- 标记到文本区域
- php - Laravel 试图保存 $appends 属性
- javascript - 具有初始值的 Draft.js 编辑器
- winforms - 在 Blazor 服务器应用程序中使用 Windows 窗体图表
- html - 如何用 CSS 网格修复文章?
- reactjs - React Apex图表如何设置不同颜色和宽度的条形底部边框
- python - 尽管文件夹中有一个 __init__.py 文件,但抱怨不是“包”
- pcm - 特定级别的数字音频(CD 16 位)数值 (-dB FS)