Re: db to HTML with checkboxes

2004-02-04 Thread Andrew Gaffney
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

db to HTML with checkboxes

2004-02-03 Thread Andrew Gaffney
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

Re: db to HTML with checkboxes

2004-02-03 Thread Wiggins d'Anconia
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

Re: db to HTML with checkboxes

2004-02-03 Thread Andrew Gaffney
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

Re: db to HTML with checkboxes

2004-02-03 Thread Wiggins d'Anconia
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.