Perad Posted July 31, 2009 Share Posted July 31, 2009 print_r($friends); Gives me the following. Array ( [1] => stdClass Object ( [id] => 35231793] ) [2] => stdClass Object ( [id] => 35231794] ) // Continue 30 more times. ) How do I loop through this array and echo out the id value? Quote Link to comment Share on other sites More sharing options...
Perad Posted July 31, 2009 Author Share Posted July 31, 2009 Got it. $friends[$i]->screen_name; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.