Re: Modifying SELECTS

From: Date: Wed, 06 Sep 2000 05:39:55 +0000
Subject: Re: Modifying SELECTS
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-15445@lists.php.net to get a copy of this message
In article <39B5C799.8AE1ABC5@inetarena.com>, curtpdx@inetarena.com (curt) wrote: echo "<B>DEBUG: nationality is $nationality</B><BR>\n"; > echo " > > <SELECT name=nationality> > <OPTION value=\"\"> x </OPTION> > > "; > > if ($nationality == "us") { > > echo "<OPTION value= \"us\" selected>United > States</OPTION>"; > > } else { > > echo "<OPTION value= \"us\" >United States</OPTION>"; > } It's probably not the loop, nor the if/else, nor the switch nor any of that. -- Richard Lynch | If this was worth $$$ to you, buy a CD US Customer Support Director | from one of the artists listed here: Zend Technologies USA | http://www.L-I-E.com/artists.htm http://www.zend.com | (this has nothing to do with Zend, duh!)

« previous php.general (#15445) next »