SELECT * FROM qf_self WHERE id = and visible = 1 ORDER BY id LIMIT 1
执行错误: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and visible = 1 ORDER BY id LIMIT 1' at line 1

77.      {
78.          $this->arrSql[] = $sql;
79.          if( $result mysql_query($sql$this->conn) ){
80.              return $result;
81.          }else{
82.              spError("{$sql}<br />执行错误: " mysql_error());
83.          }
84.      }
85.      
86.      /**
87.       返回影响行数
21.       
22.       * @param sql  执行的SQL语句
23.       */
24.      public function getArray($sql)
25.      {
26.          if( ! $result $this->exec($sql) )return array();
27.          if( ! mysql_num_rows($result) )return array();
28.          $rows = array();
29.          while($rows[