RE: [PHP] Dynamic Drop-down list

2001-02-08 Thread Jason Murray
> more clearly, if multiple instances occur, any new instance > of SELECTED will supersede any previous instance. In MSIE, yeah. Netscape ignores any subsequent SELECTED's. Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

RE: [PHP] Dynamic Drop-down list

2001-02-08 Thread DanO
nce. DanO -Original Message- From: DanO [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 08, 2001 5:25 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] Dynamic Drop-down list wrong. you can put it on any element in the list. cut'n'paste and try for yourself: selected DanO -

RE: [PHP] Dynamic Drop-down list

2001-02-08 Thread DanO
AIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 08, 2001 6:05 PM Subject: RE: [PHP] Dynamic Drop-down list > > the 'SELECTED' attribute will select an item in a dropdown list. > > by default, with no SELECTED attribute, the first item will be shown an

Re: [PHP] Dynamic Drop-down list

2001-02-08 Thread Todd Cary
Many thanks! Works like a champ now... Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAI

Re: [PHP] Dynamic Drop-down list

2001-02-08 Thread Nathan Cook
o: <[EMAIL PROTECTED]> Sent: Thursday, February 08, 2001 6:05 PM Subject: RE: [PHP] Dynamic Drop-down list > > the 'SELECTED' attribute will select an item in a dropdown list. > > by default, with no SELECTED attribute, the first item will be shown and > selecte

RE: [PHP] Dynamic Drop-down list

2001-02-08 Thread DanO
To: [EMAIL PROTECTED] Subject: [PHP] Dynamic Drop-down list I create a Drop-down from a DB table. All works as expected *except* the default item (the one showing to the surfer) is the last in the list. Is there a way I can have the first item show? Todd /* Make a drop-down */ function mak

[PHP] Dynamic Drop-down list

2001-02-08 Thread Todd Cary
I create a Drop-down from a DB table. All works as expected *except* the default item (the one showing to the surfer) is the last in the list. Is there a way I can have the first item show? Todd /* Make a drop-down */ function make_dropdown($ddName, $itemList, $first) { if (count($i