title: mysql_fetch_assoc can not access similars columns names
body: <p>I have more than one table in my query</p>
  
  <pre><code>$query = mysql_query("SELECT * FROM reservation r, users u ...")
  
  while( $fetch = mysql_fetch_assoc($query)){
      if($fetch['u.id'] == $fetch['r.id']) 
      ...
  </code></pre>
  
  <p>And here is the problem I have same column name on tables and when i try to compare the id of reservations with the id of user i get only the id of users!!!</p>
  
  <p>I can replace the '*' with the column names and to change their name with <code>AS (SELECT s.id as sid ...)</code> but is there any easier way?
  For e.x: </p>