steevojb
08-23-2006, 09:58 AM
Hi everyone
I am writing a configuration utility for my masters degree. This is the first time I have used perl/cgi/MySQL so learning as I go along
I have written a perl/cgi script that connects to my database and pulls information from tables. Next I want to write some forms to allow the user to add data to the tables.
I am reading MySQL for Perl and the Web by Paul DuBois.
The question I am asking is, where does the form go ?
<form method="post" action=enterIntotblHost.pl">
Host Table List:<br>
<textarea name="content" rows=3 cols=80></textarea><br>
<input type="submit" name="choice" value="Submit">
</form>
Do I source it from the script enterIntotblHost.pl ? If I add it to the script enterIntotblHost.pl perl simply generates tonnes of errors
TIA
Steve
I am writing a configuration utility for my masters degree. This is the first time I have used perl/cgi/MySQL so learning as I go along
I have written a perl/cgi script that connects to my database and pulls information from tables. Next I want to write some forms to allow the user to add data to the tables.
I am reading MySQL for Perl and the Web by Paul DuBois.
The question I am asking is, where does the form go ?
<form method="post" action=enterIntotblHost.pl">
Host Table List:<br>
<textarea name="content" rows=3 cols=80></textarea><br>
<input type="submit" name="choice" value="Submit">
</form>
Do I source it from the script enterIntotblHost.pl ? If I add it to the script enterIntotblHost.pl perl simply generates tonnes of errors
TIA
Steve