Hi!

I am new to CGI and have been struggling, trying to pull user input from
my HTML page.

For testing purposes I was using the piece of code below to try to pull
the users first name from my HTML page.

#!/usr/bin/perl -w

use strict;
use CGI;

my $q = new CGI;
my $name = $q->param( "FirstName" );    #FirstName is the name given to
text input field

print $q->header( "text/html" ),
       $q->start_html( "Welcome" ),
        $q->p( "Hi $name!" ),
        $q->end_html;

The results of this displays:   Hi!

So my question is how do I pull my user input from an HTML page and
display the results?

Any help would be greatly appreciated.

Thanks!

Sheri

_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl

Reply via email to