it's telling me that $day and $number are both unitialized, any clue why?
in reply to Re^2: Question about this simple CGI
in thread Question about this simple CGI
They are not being sent from your html page probably. You can assign defaults like this;
my $name = $q->param('name') || 'noname';
my $day = $q->param('day') || 'noday';
my $number = $q->param('number') || 'nonumber';
The elements after the print line should be comma separated and you shouldn't be printing after the end_html
$q->start_html( -title => "Add user", -bgcolor => "#ffffff"),
And you may wish to add this while developing to see any errors in the browser.
use CGI::Carp 'fatalsToBrowser';