Page 1 of 1

Can you pass the $_GET array?

Posted: Thu May 10, 2007 11:28 am
by snowrhythm
is there a way to pass the $_GET array into another array, say like this? ->

Code: Select all

$newArray = $_GET;

Posted: Thu May 10, 2007 11:34 am
by Begby
Didja try that to see what happens?

Posted: Thu May 10, 2007 11:59 am
by snowrhythm
it works! i was wondering because i tried it in a program but wasn't getting any results, so it must have been something else that went wrong (no error message though). i guess it never hurts to do a little testing...