Click here to Skip to main content
15,898,571 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to convert the following JSON string to array using PHP...

a:6:{
i:0;a:2:{s:2:"id";d:31003200320082;s:7:"address";s:5:"test1";}
i:1;a:2:{s:2:"id";d:83003500350087;s:7:"address";s:9:"test2";}
i:2;a:2:{s:2:"id";d:41002800280012;s:7:"address";s:5:"test3";}
}




Please help me....
Posted

1 solution

Is Google [^]really broken at your place?

It has been done so many time before and you should be able to find the example in first few links itself.
 
Share this answer
 
Comments
HardikPatel.SE 15-Apr-14 7:40am    
I have tried bro........ :(

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900