Hey Everybody,

I have the following code:

$k = 0;
foreach $item (@array){

print "$item";

print qq{<input type=checkbox name="$k">};

++$k;
}

print qq{<input type="hidden" name="kvalue" value="$k">};

What is the proper syntax to see if the checkbox had been checked or not?
I've tried this:

my $check = param('$k');

if ($check eq "on"){

print "check!";

}

Doesn't seem to work.

Many thanks for your time.



=====
#########################################
Warmest Regards,
Simon K. Chan - [EMAIL PROTECTED]

"Great spirits have always encountered violent opposition from mediocre minds."

-Albert Einstein

__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to