I got a result set in array format and i want to make square bracket value as a key and the other one as a value
here is my code
[Name]asdasdasd [Email][email protected] [Phone Number]42342342342 [Subject]dsafsdfsd [Company Name]ZXZXZX [Country]Antarctica
i want output like :- array("name"=>"asdasdasd", "Email"=>"[email protected]");
how can i do this in PHP any help would be greatly appreciated
Thanks Jassi
preg_match_all()