Connection error. Can not connect to database

Fatal error: Call to a member function set_charset() on a non-object in /home/guiaagud/public_html/inc/sdba/sdba.php on line 79