[twitter-dev] Re: Trying to display JSON object

2009-08-23 Thread shiplu
foreach($json-results as $result){ $result-item; } will do. -- A K M Mokaddim http://talk.cmyweb.net http://twitter.com/shiplu Stop Top Posting !! বাংলিশ লেখার চাইতে বাংলা লেখা অনেক ভাল

[twitter-dev] Re: Trying to display JSON object

2009-08-23 Thread Dewald Pretorius
With PHP, use json_decode($jsonencoded, true). That returns a standard array, which is far easier to process than the JSON object. Dewald

[twitter-dev] Re: Trying to display JSON object

2009-08-22 Thread Chad Etzel
Hi TrixJo, Try this: [code] for( $counter = 0; $counter = 5; $counter++){ echo $json-results[$counter]-text; } [/code] -Chad On Sat, Aug 22, 2009 at 7:26 AM, TrixJotri...@gmail.com wrote: I am using the Twitter API and have the following JSON object returned after a search query.