tapaljor tapaljor - 8 months ago 59
PHP Question

How to convert string to PHP array?

I have the following string


Please help me convert that into PHP array as following

array = array(

Note: Its not PHP GET.


This should work as inteded, to solve this problem, you just need to use explode() correctly, otherwise it's easy.

Here you go :

foreach($firstarr as $pair)