Sorry. I missed the original message but if I understand it right
you want to send multiple selections from a select box to PHP.
If you add [] after the name it will create an array with the data
that's sent to the server
ie 
<select name="foo[]">
<option value="1">selection 1</option>
etc
</select>

The variable $foo[0] or $_POST['foo'] would have the first value
selected and so on.
Hope it helps

On Wed, 2003-03-19 at 01:42, toby z wrote:
> thnx a mill guyz for ur replys
> 
> but im still stuck
> 
> nuthing seem to be working n im closing-in on my ded line
> 
> id be eterrnally gratefull if anyone could suggess an alternative to
> allow multi-selection of values fetched from the db
> 
> the only prob is the values are aorund 40 outta which a user has to
> select as many as he likes n i HAVE to fetch them all from the db
> 
> 
> guyz hlp plz
> thnx a mill
> 
> doomed .....
> toby
> 
>  --- Neil Smith <[EMAIL PROTECTED]> wrote: > Hi Toby - I
> can't actually fllw yr frm cs t hs n vwls n t !
> > 
> > However, I notice you are not closing the </option> tag. Maybe that
> > would 
> > help ?
> > AFAIK, HTML requires <option> tags to be close.
> > 
> > HTH - My 2c
> > 
> > Cheers,
> > Neil Smith.
> > 
> > At 09:51 18/03/2003 +0000, you wrote:
> > >/*      echo("<select id=qlf_opt name=rq_qlf width='15'
> > >style=\"font-family: $font\" multiple>
> > >
> > >         <optgroup label=select qualifications> ");
> > >
> > >
> > >for ($count = 1; $qlfz_id =
> > >mysql_fetch_row($rq_qlfz_ftch_qry_rzlt_hndlr); ++$count)//,
> > $fmly_nme
> > >= mysql_fetch_row ($fmly_nme_ftch_qry_rzlt_hndlr)
> > >         {
> > >                 $qlf_id = $qlfz_id[1];
> > >                 $qlf_nme = $qlfz_id[0];
> > >                 $sq = $qlfz_id[2];
> > >
> > >                 echo ("<option value=$qlf_id>$qlf_nme");
> > >
> > >                 //echo($skll_id.$sq);
> > >
> > >         }
> > >
> > >echo("</optgroup>
> > >         </select>
> > 
> > 
> > -- 
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >  
> 
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to