title: Take value from array from database
body: <p>I have the following code returned by <code>print_r</code>. Return values I need to take the number nine and pass it to a variable.</p>
  
  <p>My question is, how do I take that nine put it into a variable?</p>
  
  <pre><code>Array ( [0] =&gt; stdClass Object ( [MAX(userID)] =&gt; 9 ) )
  </code></pre>
  
  <p>Thank you for you reply.</p>