RE: [PHP] dynamic list box

2003-02-24 Thread Edward Peloke
Thanks all, I will give all these ideas a shot! Eddie -Original Message- From: 1LT John W. Holmes [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 9:07 AM To: Edward Peloke; [EMAIL PROTECTED] Php. Net Subject: Re: [PHP] dynamic list box > I have an sql statement that pu

RE: [PHP] dynamic list box

2003-02-24 Thread Mark Cubitt
don't know if this will help, but you could do something like this foreach ($hashes as $name => $variable) { switch ($name) { case 'board': $nameText = "PCB Type"; break;

Re: [PHP] dynamic list box

2003-02-24 Thread Chris Hayes
At 15:01 24/02/03, you wrote: Hello, I have an sql statement that pulls data into a dynamic list box, the problem is, I have this list box twice on my form, since the query returns a lot of rows, I do not want to have the query executed twice but I populate my list box using the while loop so when

Re: [PHP] dynamic list box

2003-02-24 Thread 1LT John W. Holmes
> I have an sql statement that pulls data into a dynamic list box, the problem > is, I have this list box twice on my form, since the query returns a lot of > rows, I do not want to have the query executed twice but I populate my list > box using the while loop so when it is time for the second lis