Posted by Carl Vondrick on 04/01/06 09:43
Chris H wrote:
> ===========================
> MORE OF THE FORM CODE
>
> <td class="dividingborder"><input name="newquan[]" type="text"
> id="newquan[]3" value="<? echo $ses_quan; ?>" size="5" maxlength="4">
> <input name="eid[]" type="hidden" id="eid[]" value="<? echo $ses_id;
> ?>"></td>
> ===========================
Note that you can also have names like foo[bar] and foo[bar2]. This will
work the same as foo[]. It is best to think of these as arrays.
[Back to original message]
|