【发布时间】:2012-04-15 15:39:30
【问题描述】:
我刚刚开始开发下面的表格,我有以下问题:
客户端点击next时如何使用PHP或Local Storage保存上一页的数据?
如何将图像附加到表单。表格完成后,我希望将其附上并通过电子邮件发送?
<form action="#" method="post">
<legend>Company Details:</legend>
<label for="companyName">Company Name: </label><input type="input" name="companyName" id="companyName"/>
<label for="companySlogan">Company Slogan: </label><input type="input" name="companySlogan" id="companySlogan"/>
<label for="companyEmail">Company E-Mail: </label><input type="email" name="companyEmail" id="companyEmail"/>
<label for="companyPhone">Company Phone: </label><input type="phone" name="companyPhone" id="companyPhone"/>
<label for="companyFax">Company Fax: </label><input type="phone" name="companyFax" id="companyFax"/>
<label for="companyAddress">Company Address: </label><textarea name="companyAddress" id="companyAddress"></textarea>
<legend>Web Hosting:</legend>
<label for="hostingRequired">Hosting Required: </label>
<select name="hostingRequired" id="hostingRequired">
<option value="hostingRequiredPleaseSelect">Please Select</option>
<option value="hostingRequiredYes">Yes</option>
<option value="hostingRequiredNo">No</option>
</select>
<label for="domain">Domain: </label><input type="url" name="domain" id="domain"/>
<label for="domainType">Domain Type: </label>
<select name="domainType" id="domainType">
<option value="domainTypePleaseSelect">Please Select</option>
<option value="domainTypeRegister">Register</option>
<option value="hostingRequiredNo">Transfer</option>
</select>
</form>
【问题讨论】:
-
这应该是三个单独的问题,分别提交。
标签: php forms local-storage