host, $config->user, $config->pass); if(!$conn){die('Connect failure....');} $sdb = mysql_query('USE '. $config->db); if(!$sdb){die('Not found Database..');} mysql_query('SET NAMES utf8'); } } connect(); ?> SlidesJS Standard Code Example