I have a string like this:
"cart[GA117110020001]=0&cart[CA117210020001]=0&cart[ZA117210020001]=0"
What i try to do:
name_of_array[index]=value cart[GA117110020001]=0
Is there a way to make an associative array called cart with index'es between '[ ]' and value after '='. Maybe i will do this by regular expression but im interesting if there is simpler solution.