Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-15-2013, 05:12 AM   PM User | #1
aydeayem
New to the CF scene

 
Join Date: Jan 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
aydeayem is an unknown quantity at this point
Php email form troubles

hi,

I recently decided to make my own website for my business instead of paying somone. Iv finished it all but am stuck on an email form. Iv done the html part on my page and it looks good, i just need a php to send to my email then redirect to a thank you page and if fields are blank redirect to an error page . Here is the HTML if anyone could help me marry a PHP to it would be greatly appreciated.


<form action="form.php" method="post">
<table>
<tr>
<td>Name:</td><TD>
<input type="text" name="email_address" value="" maxlength="100" />
</tr>
</td>

<tr>
<td>Phone number:</td><td>
<input type="text" name="email_address" value="" maxlength="100" />
</td>
</tr>


<tr>
<td>Address:</td><br>
<td>
<textarea rows="5" cols="20" name="comments"></textarea>
</td>
</tr>



<tr>
<td>Description:</td><br>
<td>
<textarea rows="6" cols="50" name="comments"></textarea>
</td>
</tr>

<tr><td>&nbsp;</td>
<td>
<input type="submit" value="Submit" />
</td>
</tr>
</table>
</form>
<p></p>
</p>
aydeayem is offline   Reply With Quote
Old 01-15-2013, 03:38 PM   PM User | #2
sunfighter
Senior Coder

 
Join Date: Jan 2011
Location: Missouri
Posts: 2,395
Thanks: 18
Thanked 351 Times in 350 Posts
sunfighter is on a distinguished road
http://formtoemail.com/formtoemail_free_version.php
sunfighter is online now   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:17 PM.


Advertisement
Log in to turn off these ads.