in reply to Almost done with project.
Your HTML is fine not the cause of your current problem, and I don't see anything wrong with your script, either. Have you checked the browser error log? What gets returned to the browser when you submit the form?
I tried this with your HTML:
#!/usr/bin/perl use CGI ':standard'; use CGI::Carp 'fatalsToBrowser'; use warnings; my $q = CGI->new; print $q->header; $q->h1('you submitted the change!'); print $q->p("$_ = " . CGI::escapeHTML($q->param($_) // '-?-')) for qw< +name phone day>; print $q->end_html;
I get whatever I submit echoed back, as expected. Note the use of CGI::Carp to assist in diagnosis.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Almost done with project.
by ww (Archbishop) on Jul 18, 2013 at 14:28 UTC | |
by rjt (Curate) on Jul 18, 2013 at 14:46 UTC | |
by Anonymous Monk on Jul 18, 2013 at 14:55 UTC | |
|
Re^2: Almost done with project.
by Chaotic Jarod (Novice) on Jul 18, 2013 at 14:20 UTC | |
by davido (Cardinal) on Jul 18, 2013 at 15:29 UTC |