

![]() |
| ![]() | |||||||
|
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
| Platinum Lifetime Member
Country: | Looking For Help With Contact Form Hi I need some help with a php style contact form. I tried to find a few free ones with no luck. Its for a site I own and I need a contact form on the site. Any help is appreciated.
__________________ http://www.domainmarketersnetwork.com |
| | |
| Sponsored Ads |
| | #2 (permalink) |
| Platinum Lifetime Member Name: Makis Last Online: Today 06:24 AM iTrader: (9) Join Date: Sep 2006
Posts: 717
DNF$: 365 Location: Glifada
Country: | i found a free one that works, pm me for more.
__________________ All offers are valid for 24 hours(1 day) from the posting time HARD.TV ~ BUDO.TV ~ KAUAI.TV ECOSYSTEMS.TV ~ WILDANIMALS.TV ~ WANDER.TV |
| | |
| | #3 (permalink) |
| Web Designer Name: MK Last Online: Yesterday 08:04 PM iTrader: (11) Join Date: Aug 2006
Posts: 277
DNF$: 2,504 Location: MI / NYC
Country: | Why use a free one when a little code can have your form up and running. I'm gonna go out of my way and show you how it's done, whether you read this and learn from it is up to you, hope this helps someone who reads it in the future. [in the contact page or the page in which you want to present your form, add the folowing] <form method="post" action="contact.php"> -- [contact.php being the file we will create later] [Add your fields in here] Demo Field <INPUT TYPE="text" NAME="demo" SIZE="10"> [this is an example of how one of your fields would look like, remember to add a Name tag] <input name="submit" type="submit" value="Submit" /> [add this after you have inserted all your form fields above] </form> -- [close your form, obviously] Now the part most people screw up on. It's simple and easy to understand. First, create a file called contact.php as stated above. (create an ok.htm page this will be the page the user is redirected to if the form is sent successfully. Create an error.htm page also with a custom error message or the form with highlighted fields that should have been filled if the form is not sent) Add the following into contact.php: PHP Code: Hope that helps...
__________________ Professional Logo Design |
| | |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |