B
Big Swifty
I can't seem to find any examples that look like what I'm doing, so I'm
sure I'm doing it wrong!!!
I get back some rows from the database, and then want to put those values
in checkboxes that if selected, will be then be used to select specific
rows from another table.
The first line works with the variables, but the checkbox line does not!!
I tried quoting and unquoting and requoting etc etc!!!
Where am I going wrong???
THANKS IN ADVANCE!!!
BIG SWIFTY
.........
foreach (@documents) {
($doc_id,$doc_name,$score) = $documents[$counter+0], $documents
[$counter+1], $documents[$counter+2];
print "<PRE><TT><B>$doc_id $doc_name $score</B></TT></PRE>";
# PREVIOUS LINE WORKS
print $q->checkbox (-name =>$doc_name,-value => "YES", -label =>
$doc_name);
# NOT LINE ABOVE
$counter ++;
}
sure I'm doing it wrong!!!
I get back some rows from the database, and then want to put those values
in checkboxes that if selected, will be then be used to select specific
rows from another table.
The first line works with the variables, but the checkbox line does not!!
I tried quoting and unquoting and requoting etc etc!!!
Where am I going wrong???
THANKS IN ADVANCE!!!
BIG SWIFTY
.........
foreach (@documents) {
($doc_id,$doc_name,$score) = $documents[$counter+0], $documents
[$counter+1], $documents[$counter+2];
print "<PRE><TT><B>$doc_id $doc_name $score</B></TT></PRE>";
# PREVIOUS LINE WORKS
print $q->checkbox (-name =>$doc_name,-value => "YES", -label =>
$doc_name);
# NOT LINE ABOVE
$counter ++;
}