2009. szeptember 23., szerda

test

This is a test file to insure that everything is working well.


   1. $json_string='{"id":1,"name":"foo","email":"foo@foobar.com","interest":["wordpress","php"]} ';  
   2. $obj=json_decode($json_string);  
   3. echo $obj->name; //prints foo  
   4. echo $obj->interest[1]; //prints php  


No response to “test”

Leave a reply

 
© 2009 Sef Dániel blog. All Rights Reserved | Powered by Blogger
Design by psdvibe | Bloggerized By LawnyDesignz