Juro or anyone, Need help with form PHP, HTML [Archive] - Fly Fishing Forum

: Juro or anyone, Need help with form PHP, HTML

02-25-2003, 09:15 PM
I am making a form on my website and I need help with, I think the PHP part of getting the info from after people fill out my form back to me. I have no clue how to get it back. I have made the whole form and its on my site, but it wont come back. If anyone can help me, please do!

Thankyou, Geoff

02-26-2003, 03:48 PM
detail your problem exactly, and give me and URL where i can look at it.


03-03-2003, 12:16 PM
Sounds like Neil has you covered

03-03-2003, 10:00 PM
oK, I have made a form on my site so I can do affiliates on my website. I just need the info on how to get the info back to me after they click the submit button. My website is http://www.nwfishing.cjb.net.. So neil plz respond to this.

thankyou Geoff

03-04-2003, 10:15 AM
Ok, first, get rid of that javaScript form check function. You don't need it, it's insecure, and we'll do the checking in PHP later.

2. Change the <form> tag to be:

<form method=POST action="formcheck.php">

formcheck.php will be the php script that will send the email

3. Give a "name" element to each checkbox:

<input type="checkbox" value="ON">

should be:
<input type=checkbox name=forum value="ON">

Each "name" element need to be different for each checkbox.

It's a little bit better interface to have a dropdown list in this situation. Do you need to have checkboxes?

4. Remove the spaces from other "name" elements:

<input type=text name="Website URL" size="25">

could be better written as:
<input type=text name="web_url" size=25>

5. Create the script "formcheck.php" and put the following code in the script:

<? phpinfo(); ?>

Put the script in the same directory as the form.
Let me know when you have this done, and we'll go from there.


03-05-2003, 12:31 AM
Could i just email the html to you that is on the form page and u can fix it, cause I thats to hard for me I dont understand. If you do just tell me your email and i will send it.