Hi,
(Newbie to php). I am trying to read in a list of ids. Here is my
url
Then I just want to print out the ids, but I can't seem to get it
work. I search php.net and have tried a dozen things I can't get to
work
Tried:
print "<BR> 0=" . $_REQUEST['id'][0];
print "<BR> 1=" . $_REQUEST['id'][1];
But it only prints the last id.
Tried:
foreach ($_REQUEST['id'] as $value) {
print "<BR> $value";
}
Can someone help simple question?
thanks
chad
(Newbie to php). I am trying to read in a list of ids. Here is my
url
Then I just want to print out the ids, but I can't seem to get it
work. I search php.net and have tried a dozen things I can't get to
work
Tried:
print "<BR> 0=" . $_REQUEST['id'][0];
print "<BR> 1=" . $_REQUEST['id'][1];
But it only prints the last id.
Tried:
foreach ($_REQUEST['id'] as $value) {
print "<BR> $value";
}
Can someone help simple question?
thanks
chad
Comment