大家帮我看看这段代码有没有问题
<?php
class suju
{
$webip="127.0.0.1";
$root="root";
$qa="qa";
$classs="class";
function ur1()
{
 $this->conn=@mysql_connect($this->webip,$this->root,$this->qa);
 @mysql_select_db($this->classs);
 $this->query('SELECT name FROM bbc');
 $this->result=@mysql_query($this->qurery,$this->conn);
 while ($this->qq=mysql_fetch_row($this->result))
 {
  echo "用户名:".$this->qq[0]."<br>";
 }
}  //ur1
} //suju
$cc=new suju;
$cc->ur1();
?>