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 i
Just so there is no confusion...I mistyped the line:
$names = substr(strrchr($_SERVER['QUERY_STRING'],"&"),7,1);
It should be a 5 instead of a 7 at the end:
$names = substr(strrchr($_SERVER['QUERY_STRING'],"&"),5,1);
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: h
Aaron Todd wrote:
> 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 something like:
>
> http://www.something.com/test.php?name1=Sam&name2=Bill&name3=Joe
>
> On my script I am
3 matches
Mail list logo