A
Anonymous
Guest
First off you have to collect the passed http variables with this, (it doesn't matter if the vars come from a mysql query, from a form or whatever):
Now you can access the array with $var[0], $var[1], $var[2]....... up to as many vars as you declared on the previous page.

Code:
$i=0;
while(list($key, $value) = each($HTTP_GET_VARS)){
$var[$i]=$value; //save the value of the variable in an array
$i++;
}
