I was just thinking, by the way. The examples I've seen, so far,created forms within the PERL-CGI script itself. But I have a ready ".htm" file which is a form whic I created in Dreamweaver 3. And I have this certain database in mySQL. Is it possible for me to use the FORM I created in Dreamweaver, and just call the cgi file to process the form? | [reply] |
You shouldn't have a problem with that. Just make sure your FORM tag has ACTION pointing to your cgi script.
<FORM METHOD="post" ACTION="pathtoscript/somescript.cgi">
| [reply] [d/l] |
Of course there is a way to use the form you created.
Let's suppose the form calls a script named test.cgi.
In this script you write:
use CGI qw/:cgi/;
Then you may use the param('name') where name is the form-element name in your page
| [reply] [d/l] |