Re: SELECT box

From: Date: Mon, 11 Dec 2000 23:33:01 +0000
Subject: Re: SELECT box
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-29768@lists.php.net to get a copy of this message
> You should have a "key" value in the table (ideally an autoincrement field, or > at least unique) that has the selection value. Then you display the > description in between <option ...>...</option>. > well, first three places of a whole string $vrstica are unique in my table, so i thought that i would get that as a result. see, $vrstica is attr1.attr2...attrn where attr1 is an unique char(3) attr. if i make a selection and hit OK button, the value of $data1 should become the right one right? or am i missing something basic here???

« previous php.general (#29768) next »