I want $_GET to get more.

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

User avatar
Pinex
New php-forum User
New php-forum User
Posts: 23
Joined: Tue Oct 29, 2002 5:06 am
Location: Norway & TheWWW

I want $_GET to get more.

Postby Pinex » Mon Nov 18, 2002 4:01 am

I have some:
foreach ($_GET as $prn => $PD)
print .$PD." ".$name." ...."

But i want it to get the $name an display it to..
I cant use :
foreach ($_GET as $prn => $PD)
foreach ($_GET as $name => $N)
print .$PD." ".$N." ...."

Why, and how do I do something like that?
I know this is maybe a NewSQ (Newbe-Stupid-Qeustion), but I'm stuck.
.hlp
;}-

User avatar
Oleg Butuzov
Last Samuray
Last Samuray
Posts: 831
Joined: Sun Jun 02, 2002 3:09 am

Postby Oleg Butuzov » Wed Nov 20, 2002 7:41 pm

Why you can not do simple ?



foreach ($_GET as $prn => $PD)
foreach ($_GET as $name => $N)
echo "$_GET[PD]   $_GET[N]  ...."


Return to “PHP coding => General”

Who is online

Users browsing this forum: No registered users and 1 guest