// ライブラリ読み込み require_once("../lib/toodb.php"); $connect_option = array( 'dbname' => 'homesaga_db', 'server' => 'localhost:3306', 'user' => 'home', 'pass' => '49870429', 'charset' => 'utf8' ); $db = new TooDb($connect_option); $db->connect(); ?>