提前感谢你的帮助。我知道这可能是一个简单的问题,因为我对HTML比较陌生。
我在我的网站上有一个表格,人们可以成为会员..我希望用户输入他们的信息,然后单击提交。当他们这样做的时候,我希望给我发一封电子邮件。然而,我希望用户被重定向到网站上的一个不同的页面,在那里他们将支付其会员资格。我怎样才能同时做这两件事(发送电子邮件、重定向)?
这是我的表格:
<form>
First name: <input type="text" name="firstname">
Last name: <input type="text" name="lastname"><br>
Street: <input type="text" name="street" size="60"><br>
City: <input type="text" name="city">
State: <input type="text" name="state">
ZIP: <input type="text" name="zip"><br>
Email: <input type="text" name="email" size="60"><br>
Phone: <input type="text" name="phone" size="60"><br>
City/Township: <input type="text" name="votingcity">
Precinct No.: <input type="text" name="precinct"><br>
<br>
<hr>
<br>
<p>Government regulations require the following information:<br></p><br>
Occupation: <input type="text" name="occupation" size="60"><br>
Employer's Name: <input type="text" name="employer" size="60"><br>
Employer's Street: <input type="text" name="emp_street" size="60"><br>
Employer's City: <input type="text" name="emp_city">
Employer's State: <input type="text" name="emp_state">
Employer's ZIP: <input type="text" name="emp_zip"><br>
<br>
<hr>
<br>
Submit <input type="submit">
</form>
https://stackoverflow.com/questions/15462982
复制相似问题