Re: incrementing a register global
| From: | Aaron Todd | Date: | Fri, 17 Jun 2005 12:01:42 +0000 |
| Subject: | Re: incrementing a register global | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-217126@lists.php.net to get a copy of this message | ||
Thanks for all the suggestions. I am going to plan on trying them out just
to see some other ways of making it work. I finally got it to work after
hours of just playing around with the code. Here is what I ended up doing:
for($i=1;$i<=$boxes;$i++){
echo $_GET['name'.$i];
}
Moving the $i inside the bracket but not inside the single quote seem to
make things happy.
Thanks,
Aaron