Page 1 of 1

sending multiple variables at once

Posted: Sun Sep 11, 2005 3:06 pm
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.

Posted: Sun Sep 11, 2005 3:14 pm
by feyd
foo.php?var1=foo&var2=bar&var3=bar+need+beeeeer

Code: Select all

print_r($_GET);

Posted: Sun Sep 11, 2005 3:18 pm
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.