title: Parsing JSON / associative arrays in from Twitter API response in PHP
body: <p>I am using the Twitter API v.1.1 to retrieve tweets relating to certain hash-tags. </p>
  
  <pre><code>$tweets = $connection-&gt;get("xxxxxxxxxxxxxxx");
  $tweets = json_encode($tweets);
  
  echo '&lt;pre&gt;';
      $objJson = json_decode($tweets, TRUE);
      print_r ($objJson);
      echo '&lt;/pre&gt;';
  ?&gt;
  </code></pre>
  
  <p>Above is the code I am using to gather the response. </p>
  
  <p>This is the response I get back </p>
  
  <pre><code>Array
  (
      [statuses] =&gt; Array
          (
              [0] =&gt; Array
                  (
                      [metadata] =&gt; Array
                          (
                              [result_type] =&gt; recent
                              [iso_language_code] =&gt; en
                          )
  
                      [created_at] =&gt; Sun Aug 18 16:24:36 +0000 2013
                      [id] =&gt; 369132733080936448
                      [id_str] =&gt; 369132733080936448
                      [text] =&gt; Macy's Almeda, Houston, TX:  Retail Commission Sales Associa - http://t.co/iz3YdBBCzC #jobs #Macy's #Houston
                      [source] =&gt; Best Jobs Online
                      [truncated] =&gt; 
                      [in_reply_to_status_id] =&gt; 
                      [in_reply_to_status_id_str] =&gt; 
                      [in_reply_to_user_id] =&gt; 
                      [in_reply_to_user_id_str] =&gt; 
                      [in_reply_to_screen_name] =&gt; 
                      [user] =&gt; Array
                          (
                              [id] =&gt; 237507695
                              [id_str] =&gt; 237507695
                              [name] =&gt; Best Jobs
                              [screen_name] =&gt; bestjobsonline
                              [location] =&gt; 
                              [description] =&gt; Best Jobs Online - we search the web for the best internships and jobs for you. No need to search yourself! Follow our stream and boost your career!
                              [url] =&gt; http://t.co/SkmHCpOnzM
                              [entities] =&gt; Array
                                  (
                                      [url] =&gt; Array
                                          (
                                              [urls] =&gt; Array
                                                  (
                                                      [0] =&gt; Array
                                                          (
                                                              [url] =&gt; http://t.co/SkmHCpOnzM
                                                              [expanded_url] =&gt; http://www.internships2013.com
                                                              [display_url] =&gt; internships2013.com
                                                              [indices] =&gt; Array
                                                                  (
                                                                      [0] =&gt; 0
                                                                      [1] =&gt; 22
                                                                  )
  
                                                          )
  
                                                  )
  
                                          )
  
                                      [description] =&gt; Array
                                          (
                                              [urls] =&gt; Array
                                                  (
                                                  )
  
                                          )
  
                                  )
  
                              [protected] =&gt; 
                              [followers_count] =&gt; 6172
                              [friends_count] =&gt; 13
                              [listed_count] =&gt; 240
                              [created_at] =&gt; Thu Jan 13 00:36:32 +0000 2011
                              [favourites_count] =&gt; 0
                              [utc_offset] =&gt; -18000
                              [time_zone] =&gt; Central Time (US &amp; Canada)
                              [geo_enabled] =&gt; 
                              [verified] =&gt; 
                              [statuses_count] =&gt; 847813
                              [lang] =&gt; en
                              [contributors_enabled] =&gt; 
                              [is_translator] =&gt; 
                              [profile_background_color] =&gt; 022330
                              [profile_background_image_url] =&gt; http://a0.twimg.com/images/themes/theme15/bg.png
                              [profile_background_image_url_https] =&gt; https://si0.twimg.com/images/themes/theme15/bg.png
                              [profile_background_tile] =&gt; 
                              [profile_image_url] =&gt; http://a0.twimg.com/profile_images/1214148827/bjo_logo_normal.png
                              [profile_image_url_https] =&gt; https://si0.twimg.com/profile_images/1214148827/bjo_logo_normal.png
                              [profile_link_color] =&gt; 0084B4
                              [profile_sidebar_border_color] =&gt; A8C7F7
                              [profile_sidebar_fill_color] =&gt; C0DFEC
                              [profile_text_color] =&gt; 333333
                              [profile_use_background_image] =&gt; 1
                              [default_profile] =&gt; 
                              [default_profile_image] =&gt; 
                              [following] =&gt; 
                              [follow_request_sent] =&gt; 
                              [notifications] =&gt; 
                          )
  
                      [geo] =&gt; 
                      [coordinates] =&gt; 
                      [place] =&gt; 
                      [contributors] =&gt; 
                      [retweet_count] =&gt; 0
                      [favorite_count] =&gt; 0
                      [entities] =&gt; Array
                          (
                              [hashtags] =&gt; Array
                                  (
                                      [0] =&gt; Array
                                          (
                                              [text] =&gt; jobs
                                              [indices] =&gt; Array
                                                  (
                                                      [0] =&gt; 86
                                                      [1] =&gt; 91
                                                  )
  
                                          )
  
                                      [1] =&gt; Array
                                          (
                                              [text] =&gt; Macy
                                              [indices] =&gt; Array
                                                  (
                                                      [0] =&gt; 92
                                                      [1] =&gt; 97
                                                  )
  
                                          )
  
                                      [2] =&gt; Array
                                          (
                                              [text] =&gt; Houston
                                              [indices] =&gt; Array
                                                  (
                                                      [0] =&gt; 100
                                                      [1] =&gt; 108
                                                  )
  
                                          )
  
                                  )
  
                              [symbols] =&gt; Array
                                  (
                                  )
  
                              [urls] =&gt; Array
                                  (
                                      [0] =&gt; Array
                                          (
                                              [url] =&gt; http://t.co/iz3YdBBCzC
                                              [expanded_url] =&gt; http://bit.ly/16UtroW
                                              [display_url] =&gt; bit.ly/16UtroW
                                              [indices] =&gt; Array
                                                  (
                                                      [0] =&gt; 63
                                                      [1] =&gt; 85
                                                  )
  
                                          )
  
                                  )
  
                              [user_mentions] =&gt; Array
                                  (
                                  )
  
                          )
  
                      [favorited] =&gt; 
                      [retweeted] =&gt; 
                      [possibly_sensitive] =&gt; 
                      [lang] =&gt; en
                  )
  </code></pre>
  
  <p>How do I format this response to only show me the date and text of each of these Tweets. Thanks for the help. I'm a noob, and any help would come in handy!</p>