Re: CGI and DBI : using db queries in html

2007-11-08 Thread Paul Lalli
On Nov 8, 2:22 pm, [EMAIL PROTECTED] (Neil) wrote: > Hi, > > I've a perl script that I'm working on to get a list of options from a > database presented to a user in a form. I can do the db query fine > and store the variables in an array, but I can't workout how to get > the array printed as a li

Re: CGI and DBI : using db queries in html

2007-11-08 Thread David Moreno Garza
On Thu, 2007-11-08 at 11:22 -0800, neil wrote: > $q -> popup_menu(-name => 'study_select', -values => > [EMAIL PROTECTED]), You should be passing: -values => [EMAIL PROTECTED] D. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl

CGI and DBI : using db queries in html

2007-11-08 Thread neil
Hi, I've a perl script that I'm working on to get a list of options from a database presented to a user in a form. I can do the db query fine and store the variables in an array, but I can't workout how to get the array printed as a list of items in a menu. The script is #!/usr/bin/perl -w