【发布时间】:2016-05-20 19:26:42
【问题描述】:
我的网站上有一个表格供人们填写,我只想在他们按下提交按钮时通过电子邮件将信息发送给我,但我正在努力使用 PHP。
下面是我的表格
<form action="senddata.php">
<label for="fullname"> full name:</label><br>
<input type="text" name="fullname" id="fullname"><br><br>
<label for="psn">PSN</label><br>
<input type="text" name="psn" id="psn"><br>
<label for="email">Email:</label><br>
<input type="text" name="email" id="email"><br>
<label for="contact"> Contact number</label><br>
<input type="text" name="contact" id="contact"><br>
<label for="team">Team supported</label><br>
<input type="text" name="team" id="team"><br>
<input type="submit" value="SUBMIT FORM">
</form>
【问题讨论】:
-
你在苦苦挣扎吗?用谷歌有那么难吗?
-
代码是文本,复制粘贴并不难...