On Mar 6, 2005, at 6:18 PM, Craig White wrote:
> spent a lot of time today on this - researching and can't seem to make
> it work.
>
>
> function build_select_box ($picklist) {
>
> echo '';
> }
On my setup, it seems to work, but without displaying any labels. Your
values are there, but you're not giving a human-readable name for each
option in the select list. As a result, it shows up as a blank list.
Change your ';
And it should display a list the way you're wanting. The value
attribute is only used for enumerated lists where you are mapping
human-readable values to database values (i.e., phone call result
codes). If you don't specify a value attribute, the browser will use
the value between the tags as the actual value.
HTH
--
June Tate * http://www.theonelab.com * june@theonelab.com