greymoose has asked for the wisdom of the Perl Monks concerning the following question:
@record and @recordnum were populated by a database query earlier in the script.# Set Up Buttons print "<div align='center'>"; my $i = 0; while (@record[$i]){ print "<form action='/cgi-bin/subcatredir.cgi' method='get'>"; + print "<button type='submit' name='butCat' class=' +sub' value='@recordnum[$i]'><b>@record[$i]</b></button>"; + print "</form> "; $i=$i+1; } print "<input type='text' name='txtTyp' size='1' class='hi +dden' value='bus'/>"; print "</div>";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Removing auto formatting at end of forms
by cLive ;-) (Prior) on Nov 14, 2006 at 02:56 UTC | |
by greymoose (Beadle) on Nov 14, 2006 at 04:24 UTC | |
|
Re: Removing auto formatting at end of forms
by osunderdog (Deacon) on Nov 14, 2006 at 02:59 UTC | |
by grep (Monsignor) on Nov 14, 2006 at 04:32 UTC | |
by greymoose (Beadle) on Nov 14, 2006 at 04:27 UTC |