Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Re: Checkbox values

by CharlesClarkson (Curate)
on Nov 14, 2001 at 19:12 UTC ( #125318=note: print w/replies, xml ) Need Help??


in reply to Re: Checkbox values
in thread Checkbox values

You had me till the very end. I really hate to mix HTML and CGI.

print p( 'Check a button or two and click Submit Query to see the chec +ked values +.' ), li, join '<LI>', @checkbox_values; print end_html;
print p( 'Check a button or two and click Submit Query to see the chec +ked values.' ); print li($_) for @checkbox_values; print end_html;


Update: CGI.pm will allow li a list reference.
print p( 'Check a button or two and click Submit Query to see the checke +d values.' ), li(\@checkbox_values), end_html;



HTH,
Charles K. Clarkson

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://125318]
help
Chatterbox?
[PriNet]: quick question... anyone know how to remove all the existing keys in a %hash ? i've tried several options, but when i re-use the hash, some of the "upper" keys that i don't re-use stick and i can't get them to "remove"
[atcroft]: PriNet: %hash = ();? or foreach my $k ( keys %hash ) { delete $hash{$k}; }?

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (2)
As of 2017-06-28 02:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (619 votes). Check out past polls.