Re: select prob.

From: Date: Sat, 03 Feb 2001 18:29:49 +0000
Subject: Re: select prob.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-37971@lists.php.net to get a copy of this message
On Saturday 03 February 2001 17:23, PHPBeginner.com wrote: > then, why don't you instead have it NULL, like: > > <input type=text name=form[name] .. > <input type=text name=form[email] .. > <select name=form[country]> > <option>Select your country > <option>------------------- if no "value" is specified, the text in the <option> field is taken as value, i.e. $form['country'] == "Select your country" etc -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) "Never doubt that a small group of thoughtful, committed people can change the world... Indeed, it's the only thing that ever has." - Margaret Mead

« previous php.general (#37971) next »