title: Accessing JSON array after json_decode/multidimensional array
body: <p>I'm pulling in a search from the Twitter api, fetching the data with file_get_contents and then passing to json_decode which give me this array structure.</p>
  
  <pre><code>{"results":[
       {
       "from_user":"A-user-name",
       "from_user_id":457304735,
       "text":"Ich R U #BoysNoize #SuperRola",
  
            "entities":{
  
                   "urls":[{
                          "url":"http:\/\/t.co\/WZnUf68j",
                          "expanded_url":"http:\/\/instagr.am\/p\/Vz4Nnbnjd6\/",
                          }]
  
       }]
  ]
  </code></pre>
  
  <p>This repeats for every tweet pulled, Now I can access the user name and text using a foreach loop and assigning every instance of results to a variable, then pulling data from the variable.</p>
  
  <pre><code>foreach($jsonArr['results'] as $item){    
  
  // Takes the Array jsonArr and for every results heading creates an $item
  
      $user = mysql_real_escape_string($item['from_user']);
      $text = mysql_real_escape_string($item['text']);
  </code></pre>
  
  <p>This saves the correct variables OK, But I can't seem to get the the data within the entities array within the results. If I print out the Entities var like the username or text I get</p>
  
  <pre><code>ArrayArrayArrayArrayArrayArrayArrayArrayArrayArray
  </code></pre>
  
  <p>So It holds the arrays for each results returned but how on earth do I access it, I've been messing around with a few other methods I know for accessing array data but they all seem to fall flat. Any help with how to get at these values, or integrate them with the foreach would be greatly appreciated </p>