Re: Post Variables
| From: | Mattia | Date: | Thu, 05 Dec 2002 11:47:33 +0000 |
| Subject: | Re: Post Variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-127129@lists.php.net to get a copy of this message | ||
> for ($i=0; $i<=12; $i++)
> {
> echo "<select name='$i'>";
> echo "<option values....>";
> }
the <select... > tag must stay out of the for loop. the syntax for
<select...> is
<select ...>
<option...></option>
<option...></option>
<option...></option>
<option...></option>
....
</select>
bye
Mattia