[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

php/html form

Asked by ctasik in PHP Scripting Language, PHP for Windows, Miscellaneous Web Development

Hello, I have to set up a form on my web page that sends all the info back to me via email. Also it would be great if state info could be added and ip code and phone number fields would sense the value.
You can see all the field in the attachment. Some marked as required. I have also error.html page and thankyou.html page. I need to have php or some other code for it. I don't know php and I tried to modify code that i found online and i failed.
Could you help me to solve it?
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
<table border="0" cellpadding="8" cellspacing="8" summary="feedback form"> 
<tr><td><label for="cname">*Company name:</label>:</td><td><input type="text" id="cname" name="cname" size="30" /></td></tr>
<tr><td><label for="tswname">*Name</label>:</td><td><input type="text" name="fullname" id="tswname" size="30" /></td></tr>
<tr><td><label for="phone">*Phone</label>:</td><td><input type="text" id="phone" name="phone" size="30" /></td></tr>
<tr><td><label for="tswemail">*Email address</label>:</td><td><input type="text" id="tswemail" name="email" size="30" /></td></tr>
<tr><td><label for="address">Address</label>:</td><td><input type="text" id="address" name="address" size="30" /></td></tr>
<tr><td><label for="address2">Address(2)</label>:</td><td><input type="text" id="address2" name="address2" size="30" /></td></tr>
<tr><td><label for="city">City</label>:</td><td><input type="text" id="city" name="city" size="30" /></td></tr>
<tr><td><label for="state">State</label>:</td><td><input type="text" id="state" name="state" size="30" /></td></tr>
<tr><td><label for="zip">ZIP code</label>:</td><td><input type="text" id="zip" name="zip" size="10" /></td></tr>
<tr><td><label for="country">Country</label>:</td><td><input type="text" id="country" name="country" size="30" /></td></tr>
<tr>
<td colspan="2">
<label for="tswcomments">Comments</label><br />
<textarea rows="15" cols="45" name="comments" id="tswcomments"></textarea>
</td>
</tr>
<tr>
<td align="center" colspan="2">
<input type="submit" value="Send Feedback" /><br /> 
</td>
</tr>
</table>
[+][-]11/05/09 06:40 PM, ID: 25756222Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/05/09 06:41 PM, ID: 25756227Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/05/09 08:15 PM, ID: 25756569Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/06/09 06:54 PM, ID: 25764777Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/06/09 08:10 PM, ID: 25764950Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/08/09 06:11 PM, ID: 25773019Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/08/09 06:56 PM, ID: 25773132Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/10/09 03:27 AM, ID: 25784316Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/10/09 03:31 AM, ID: 25784329Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091021-EE-VQP-81 - Hierarchy / EE_QW_3_20080625