Re: [PHP] incrementing a register global

2005-06-16 Thread Sergey
You try to increment value of a var! to change it name u have to add $i to it's name like this foreach($i=1;$i<=$boxes;$i++){ echo $_GET['name'].$i; } foreach ($_GET as $var_name=>$var_value) { $i++; echo $var_mane.$i; } if I correctly understand u ""Jay Blanchard"" <[EMAIL PROTECTED]> ???

Re: [PHP] incrementing a register global

2005-06-15 Thread Richard Lynch
On Wed, June 15, 2005 12:43 pm, Aaron Todd said: > I dont know it this is possible, but here it goes. Hopefully I cac > explain > it well enough for someone to understand. > > I am posting data to a php script. I have several variables that are the > same except the number at the end is different

RE: [PHP] incrementing a register global

2005-06-15 Thread Jay Blanchard
[snip] I dont know it this is possible, but here it goes. Hopefully I cac explain it well enough for someone to understand. I am posting data to a php script. I have several variables that are the same except the number at the end is different. So the url of the called script will be somethi