I am using mod_rewrite which makes it impossible to use the $_GET function.

that depends... if you would translate the fake url www.yoursite.org/par1/val1/parameter2/value2 to www.yoursite.org?page.php?par1=val1&parameter2=value2 you are ready. Check the net for quite some examples.

Here is what it looks like:
cc=br&pr=04&lcarray=1&idarray=816083

Has anybody an idea on how to put this into an array to make it accesible like this:

$para[cc]
$para[pr]
etc.

Ok if you want to do it that way, what about this idea:


$array1= explode ('&','cc=br&pr=04&lcarray=1&idarray=816083');
then walk through array 1
and for each item in it array1
{
list ($key,$val)=explode ('=',$array1[$i]);
$$key=$val;
}

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to