Wiggins d Anconia wrote:
Wiggins d'Anconia wrote:
Andrew Gaffney wrote:
Wiggins d'Anconia wrote:
Andrew Gaffney wrote:
I have a Perl CGI script that runs a query against a MySQL table. I
have about 20 boolean values that I want shown as checkboxes in the
produced HTML, but I don't want to
I have a Perl CGI script that runs a query against a MySQL table. I have about 20 boolean
values that I want shown as checkboxes in the produced HTML, but I don't want to have to
do something like the below for every value.
[code]
if($ref-{somevalue}) {
print input type=checkbox
Andrew Gaffney wrote:
I have a Perl CGI script that runs a query against a MySQL table. I have
about 20 boolean values that I want shown as checkboxes in the produced
HTML, but I don't want to have to do something like the below for every
value.
The key to this is contriving good names for the
Wiggins d'Anconia wrote:
Andrew Gaffney wrote:
I have a Perl CGI script that runs a query against a MySQL table. I
have about 20 boolean values that I want shown as checkboxes in the
produced HTML, but I don't want to have to do something like the below
for every value.
The key to this is
Andrew Gaffney wrote:
Wiggins d'Anconia wrote:
Andrew Gaffney wrote:
I have a Perl CGI script that runs a query against a MySQL table. I
have about 20 boolean values that I want shown as checkboxes in the
produced HTML, but I don't want to have to do something like the
below for every value.