Posted by Gerard van Wilgen on 10/10/05 00:56
> echo "<SELECT NAME='ListBox2'>";
> echo "<OPTION SELECTED VALUE=''>Select...</OPTION>";
> echo "<OPTION>$Desserts[0]</OPTION>";
> echo "<OPTION>$Desserts[1]</OPTION>";
> echo "<OPTION>$Desserts[2]</OPTION>";
>
> echo "</SELECT><BR><BR>";
> echo "<INPUT TYPE='HIDDEN' NAME='Course1' VALUE='$ListBox1'>";
> echo "<INPUT TYPE='SUBMIT'>";
> echo "</FORM>";
> ?>
> </BODY>
> </HTML>
>
I think that you should rename ListBox2 to ListBox2[], so that the
options will be passed as elements of an array.
--
Gerard van Wilgen
www.majstro.com - Multilingual translation dictionary
www.erotikejo.com - Internaticia tradukvortaro
Navigation:
[Reply to this message]
|