"; while($row = mysql_fetch_array($qry_pos, MYSQL_ASSOC)) { echo "" . $row["name"] . ""; }