You forgot to put a value between your tags. change this: echo '>'.''; to this: echo '>'.$picklist[$x].''; At 3/6/2005 06:18 PM, you wrote: >spent a lot of time today on this - researching and can't seem to make >it work. > > >function build_select_box ($picklist) { > > echo ''; >} > >$picklist = array("john", "paul", "george", "ringo"); > >echo '
'; >echo ''; >?> > >It should be obvious what I am trying to get - is a pull down 'select' >menu with the 4 names listed and I am actually going to pass this a much >larger array when time comes. > >I can't make this work...what's the secret? > >Note that if you try to copy/paste - the line that starts >echo '