Click to See Complete Forum and Search --> : forms field
nolawi
04-24-2005, 01:18 PM
I set up my first forms field in my website for contact info.
once the html page is setup - how do you connect it to a database of somekind... WHat is the prefered choice ?
once the user hits the sumbit bottun where does the information go?
how do you set it up?
NogDog
04-24-2005, 01:56 PM
The <form> tag in your html form page must include an "action" parameter which points to the server-side page or program that will accept the form data and process it. The options for what that action's target is depends on your web host: what server-side programing/scripting does it support? A popular option is PHP for the scripting and MySQL for the database server.
Brief description of how PHP references form data: http://www.php.net/manual/en/tutorial.forms.php
nolawi
04-24-2005, 06:18 PM
wow this look intimidating-- i'm not a web designer- i'm a graphic print designer and use dreamweaver to make websites- i just need to put fillable form on the website so that i could recieve it in text format or email!
NogDog
04-24-2005, 06:55 PM
There's a good chance your web hosting service has a "CGI form mail" program available for you to use. You'll need to contact them (or search their support pages) to find out what the URL is and anything you may need to add to your contact form page to make it work. (Typically you need to add one or more hidden fields with things like your email address.)
nolawi
04-27-2005, 11:20 PM
There's a good chance your web hosting service has a "CGI form mail" program available for you to use. You'll need to contact them (or search their support pages) to find out what the URL is and anything you may need to add to your contact form page to make it work. (Typically you need to add one or more hidden fields with things like your email address.)
they dont have CGI form mail-- so i'm going to have to learn how to set it up in PHP-
the link above was somewhat helpful-- once i write the php code in the HTML
how do i recieve or access the data...
what exactly is action.PHP page ? and how do you get started setting up this page?