Re: AW: [PHP] textfield vaules not accessable??
| From: | Joao Prado Maia | Date: | Tue, 29 Aug 2000 17:34:26 +0000 |
| Subject: | Re: AW: [PHP] textfield vaules not accessable?? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-14188@lists.php.net to get a copy of this message | ||
On Tue, 29 Aug 2000, bemorph wrote:
> you have to name the fields this way:
>
> for($i = 0; $i < $loop_count; $i++){
> $label="textfieldname".$i;
> <input type='text' name='label' value='$grade'>
> }
>
> Then you will get the same as:
>
> <input type='text' name='textfieldname1' value='$grade'>
> <input type='text' name='textfieldname2' value='$grade'>
> <input type='text' name='textfieldname3' value='$grade'>
>
> and so on!
> Is this your solution?
Actually what he will get is a nasty parse error. Where's your echo /
print function inside that loop ?
Joao
--
Joao Prado Maia
Web Developer
Kefta.com, Inc