in reply to Re: Populating CGI popup_menu via DBI
in thread Populating CGI popup_menu via DBI
Thanks for your reply. You're right about the efficiency not being critical here, but seeing potentially inefficient code like that always puts me on alert. As I see it, the following steps are needed:
With many other functions, like the pop-up menu where labels and values are the same that I showed above, you can skip steps 3 and 4 and go straight from the DB to the CGI printing. Not only that, it just feels like a lot of code! I had been hoping that there was a more concise idiom somewhere out there waiting to be discovered....
-Tats
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Populating CGI popup_menu via DBI
by KPeter0314 (Deacon) on May 30, 2003 at 14:34 UTC |