bigatuin wrote in php 😟exhausted

I got a small problem, which should be easy to solve, but somehow I cannot see it. Maybe because its late, but please help anyway.

I have a string like this:
timestamp=20041027094726&amount=000000000100&currency=EUR

Valuepairs seperated by ampercent, like URL encoded GET params. At the end, I'll need something like this:


$array[timestamp] = "20041027094726"
$array[amount] = "000000000100"
$array[currency] = "EUR"


Thx in advance


SOLVED thx anyway