PDA

View Full Version : NOOBY EMAIL CODING QUESTION!! LOL! [+Rep]



Huggies
12-10-2010, 06:38 PM
This is my email code thing:

<form method="post" action="">


<!-- Personal Details -->
<fieldset>
<legend style="margin-bottom:0">Leave us a message!</legend>

<label style="padding-top: 1em">Name:</label>
<input type="text" title="Text input: First Name" name="Name" />

<label>Email:</label>
<input type="text" title="Text input: Email" name="email" />

<label>Subject:</label>
<input type="text" title="Text input: Phone" name="phone" />

<label>Comments:</label>
<textarea rows="20" cols=""></textarea>
</fieldset>
</form>

<p><a href="#" class="button-submit"></a>

But how do i make it so the "Button-submit" Sends the email, to my email address please help :D

Huggies
12-10-2010, 07:47 PM
Like is there a way i can submit it too my email without the email client oppening on my PC!

Someone please help :P

Johno
12-10-2010, 08:10 PM
You need to have a PHP script which will process the input and send it to the desired email.

Like this, http://www.w3schools.com/php/php_mail.asp

Huggies
12-10-2010, 08:30 PM
Legend bruh <3

+Rep for you and kisses all around grats!

Want to hide these adverts? Register an account for free!