spickles has asked for the wisdom of the Perl Monks concerning the following question:
sub sectionOne() { $q->header(); style (); $q->start_html(); print "Enter the Number of Buildings:\n"; print "<form name=\"form1\" action=\"add_building_names.cgi\" method=\ +"POST\">\n"; print "<table style=\"border-collapse:separate;padding:0px;width:100px +;font-size:8pt\">\n"; print "<tr>\n"; print "<td><input type=\"text\" name=\"num_buildings\" size=\"5\"></td +>\n"; print "<td><input type=\"submit\" name=\"submit_num_buildings\" value= +\"Update\"></td>\n"; print "</tr>\n"; print "<input type=\"hidden\" name=\"section_number\" value=\"2\">\n"; print "</form>\n"; print "</table>"; $q->end_html(); }
<style type="text/css"> table { border:solid black 0px; padding:10px; border-collapse:separate; width:600px; } td { border:solid black 1px; padding:5px; font-weight: bolder; text-align: center; } </style> Enter the Number of Buildings: <form name="form1" action="add_building_names.cgi" method="POST"> <table style="border-collapse:separate;padding:0px;width:100px;font-si +ze:8pt"> <tr> <td><input type="text" name="num_buildings" size="5"></td> <td><input type="submit" name="submit_num_buildings" value="Update"></ +td> </tr> <input type="hidden" name="section_number" value="2"> </form> </table> </body> </html>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: CGI 'start_html' not printing opening <body> or <html>
by tilly (Archbishop) on Mar 04, 2009 at 23:10 UTC | |
|
Re: CGI 'start_html' not printing opening <body> or <html>
by bellaire (Hermit) on Mar 04, 2009 at 23:10 UTC | |
|
Re: CGI 'start_html' not printing opening <body> or <html>
by cormanaz (Deacon) on Mar 04, 2009 at 23:14 UTC | |
by spickles (Scribe) on Mar 05, 2009 at 05:20 UTC | |
by spickles (Scribe) on Mar 05, 2009 at 05:57 UTC |