/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$json_string='{"id":1,"name":"foo","email":"foo@foobar.com","interest":["wordpress","php"]} '; echo $obj->name; //prints foo echo $obj->interest[1]; //prints php
Comments
