sending multiple variables at once

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Cateyes
Forum Commoner
Posts: 63
Joined: Mon Jun 14, 2004 5:06 pm

sending multiple variables at once

Post by Cateyes »

Is it possible to send multiple variables I know one can be be sent as a link
ex: test.php?testid=1
how would i send more than the one variable is what I am trying to find. I found the answer 2 to 3 months ago when I didnt need it now I can't find it.

Thanks in advance guys.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

foo.php?var1=foo&var2=bar&var3=bar+need+beeeeer

Code: Select all

print_r($_GET);
Cateyes
Forum Commoner
Posts: 63
Joined: Mon Jun 14, 2004 5:06 pm

Post by Cateyes »

Feyd I tried every symbol I thought and I somehow missed the & command thanks again I think I need a break I used to know this by heart but a year of not programming and I seem to have forgotten all the simple commands.
Post Reply