Simple question how can i transform this string:
"'One' => 1,'Two' => 2,'Three' => 3,'Four' => 4,"
To an array like this :
array['One'] = 1;
array['Two'] = 2;
array['Three'] = 3;
array['Four'] = 4;
Simple question how can i transform this string:
"'One' => 1,'Two' => 2,'Three' => 3,'Four' => 4,"
To an array like this :
array['One'] = 1;
array['Two'] = 2;
array['Three'] = 3;
array['Four'] = 4;