Also if you name your <select> with array notation:
echo("<select id=qlf_opt name="rq_qlf[]" width='15'
You will end up with an array of the selected values.
example:
<?
// example of multiple select boxes and php arrays
if (count($array_select) > 0) {
?><pre><?print_r($array_select)?></pre><?
} else {
?>
<form name="blah" action="">
<select name="array_select[]" multiple>
<option value="one">one</option>
<option value="two">two</option>
<option value="three">three</option>
</select>
<input type="submit">
</form>
<?
}
?>
--Christopher
Quoting Neil Smith <[EMAIL PROTECTED]>:
> 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
>
------------------------------------------------------------
Visit http://www.efn.org for all your community networking needs
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php