Hi!
Kunstnere_3/foo_2/na_2Array
gets exploded to:
( [0] => [1] => Kunstnere_3 [2] => foo_2 [3] => na_2 )
I then want to explode this, on _
the key, should be whats before _
the value, should be the integer.
This will be used for queries..
eg. querystring:
Kunstnere_3/foo_2/na_2Array
will result in:
$array["kunstnere"] = 3
$array["foo"] = 2
etc etc
How do I explode like that?
I guess I have to loop the array I already exploded and then explode it and add it to the other query?
Olav Alexander Mjelde
Admin & Webmaster
Kunstnere_3/foo_2/na_2Array
gets exploded to:
( [0] => [1] => Kunstnere_3 [2] => foo_2 [3] => na_2 )
I then want to explode this, on _
the key, should be whats before _
the value, should be the integer.
This will be used for queries..
eg. querystring:
Kunstnere_3/foo_2/na_2Array
will result in:
$array["kunstnere"] = 3
$array["foo"] = 2
etc etc
How do I explode like that?
I guess I have to loop the array I already exploded and then explode it and add it to the other query?
Olav Alexander Mjelde
Admin & Webmaster