RE: [PHP] select prob.

From: Date: Sat, 03 Feb 2001 18:34:27 +0000
Subject: RE: [PHP] select prob.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-37973@lists.php.net to get a copy of this message
x On Sun, 4 Feb 2001, 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>------------------- > <option value=US>United State > <option value=UK>United Kingdom > .... > > > then if it's empty it will be skipped ... I think ... I've never done so ... > > Ciao allo zio e la lista italiana, > > Maxim Maletsky Hmmm, I'm not sure but if not value is set in a select field, the title is passed .. I mean: <option>My Label on the submit action, the val My Label is send to the script ... max ps. ciao anche a te :)

« previous php.general (#37973) next »