title: assign sql results with same name to array
body: <p>I have a general question regarding the assigning of sql results to a arrays. 
  What should I do when I want to assign some results to an array and when I am joining two or more tables and some columns got the same name:</p>
  
  <p>Example:</p>
  
  <pre><code>$sqlExample = "select u.first_name, o.first_name from tbl_user u join tbl_owner o on u.user_id = o.user_id where u.user_id = $user_id;";
         ...
  $userFirstName[$var] = $result['first_name'];
  $ownerFirstName[$var] = 
  </code></pre>
  
  <p>I know, that this is not a great example, but I hope that you are understanding my question..
  I thought I could use something like the table prefix for the results, but it didn't worked.</p>
  
  <p>-- Just an example not the code I am using/</p>