[advanced search]
 

Go Back   NamePros.com > Marketplace > Web Development > Web Development Wanted

Web Development Wanted Requests for websites, templates, custom programming, logos or graphics.


Closed Thread
 
LinkBack Thread Tools
Old 01-08-2006, 12:47 PM   #1 (permalink)
NamePros Member
 
Join Date: Jan 2006
Posts: 108
0.00 NP$ (Donate)

TutorialWizard is an unknown quantity at this point


HTML Email Forms

I would like to set up an email form on my site (http://www.tutorial-wizard.com) for people to easily and quickly submit their tutorials. This form will be for a submit button to send several fields to my email quickly. There is no deadline or set price, so I will be taking any quotes on here. Anyone who has any offers, please post here and I will get back to you on it.
__________________
open...
TutorialWizard is offline  
Old 01-08-2006, 03:22 PM   #2 (permalink)
NamePros Regular
 
Join Date: Dec 2005
Posts: 206
270.00 NP$ (Donate)

wackyjoe is on a distinguished road


This is just a basic contact form...edit its fields to fit yours



The actual form:
Code:
<form action="mail.php" method="post">

Your Name: <input type="text" name="name"><br>

E-mail: <input type="text" name = "email"><br><br>

Your Comments:<br>

<textarea name="comment"></textarea><br><br>

<input type="submit" value="Tell Us!">
-=-=-=-=
save this as mail.php:
-=-=-=-=
Code:
<?

$name=$_POST['name'];

$email=$_POST['email'];

$comment=$_POST['comment'];

$to="your@email.com";

$message=" $name sent you a comment on your site.\n They said $story\n\n Their e-mail address was: $email";

if(mail($to,"Comments From Your Site",$message,"From: $email\n")) {

echo "Thanks for your comments! That’s the only way we can improve our site!";

} else {

echo "There was a problem sending your story. Please check that you filled in the form correctly.";

}

?>
wackyjoe is offline  
Old 01-08-2006, 05:38 PM   #3 (permalink)
NamePros Member
 
Join Date: Jan 2006
Posts: 108
0.00 NP$ (Donate)

TutorialWizard is an unknown quantity at this point


Thanks to both of you for posting. I got it to work finally, and thank you for the information on how to code that in .php.
__________________
open...
TutorialWizard is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Registrar wont release my domain. domainabilities Domain Name Discussion 17 04-06-2005 11:00 PM
HTML: Forms mak CODE 5 01-08-2005 06:29 PM
Create HTML Forms in an instant with htmlforms.com Cyphix For Sale / Advertising Board 2 11-08-2004 11:49 PM
HTML code in forms JustJo Web Design Discussion 4 05-06-2004 06:31 AM

Site Sponsors
Advertise your business at NamePros

All times are GMT -7. The time now is 10:49 PM.


Powered by: vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85