PDA

View Full Version : Form question about submiting


akephart001
04-17-2006, 08:03 PM
Hi everyone,

I can't get my form to submit at the following URL:

http://www.danparksmachineservices.com/webmaster.html
or at
http://www.danparksmachineservices.com/contactform.php

mainly because I wasn't the one who created the original file, and I don't really now what the heck I'm doing with php forms anyways.

Can anyone check out the code around the "contact us/me" button and help me?

Thanks

Vege
04-17-2006, 08:09 PM
<form action="" method="post" name="form1" >

boght your action variables are empty, try

<form action="examplepage.php" method="post" name="form1" >

akephart001
04-17-2006, 09:10 PM
So do I do that if I want to link to that php page, I don't understand how doing that will make the form email to me.

John84
04-17-2006, 10:40 PM
err... am I in the right forum?

akephart001
04-18-2006, 02:18 AM
Oops you got me. It took me a sec. to catch your humor john, so err... yeah, my question related to hitting the submit button to send a form, not the other kind of submition that your used to...

John84
04-18-2006, 02:37 AM
2 ways to get the form to send you the information

1 - use action="mailto:your@email.com" which, when send is initiated, will open up the user's email agent (ie. outlook) with all the data filled out and they just hafta click send

2 - find/create a form mailing script through some server side language (php, cgi, etc.) and put that file in the action variable as vege did with examplepage.php being your file

akephart001
04-18-2006, 03:46 AM
cool thanks for the help