title: return multiple row with same clones name mysql-php
body: <p>I want to get all users from NY city by this codes: </p>
  
  <pre><code>$result = mysql_query("select * from tbl_city WHERE city='ny'");   
     while ($row = mysql_fetch_object($result))    {
   $a="$row-&gt;username";}
   echo $a; 
  </code></pre>
  
  <p>But it just returns the first one. How can I get more rows?</p>