Witam mam problem z kodowaniem ogolnie wywala mi informacje na stronie

Strict Standards: Non-static method db::_query() should not be called statically in /var/www/kino/c/class/db.class.php on line 261

Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /var/www/kino/c/class/db.class.php on line 297


a kod tych lini to

  1. $query = self::_query( $query , $db-> connection );
  2.  
  3. public function fetchAssoc($mysql_query){
  4.  
  5. $this->result = mysql_fetch_assoc($mysql_query);
  6.  
  7. if ( $this -> result )
  8.  
  9. return $this->result;
  10.  
  11. else
  12. return false;
  13.  
  14.  


Prosze o pomoc exclamation.gif