php4 昇級至 php5
發表於 : 2007-08-31 14:18:32
原
$db1 = $db;
要改為
$db1 = new DB_Sql();
$db1->Database = DATABASE_NAME;
$db1->User = DATABASE_USER;
$db1->Password = DATABASE_PASSWORD;
$db1->Host = DATABASE_HOST;
$db1 = $db;
要改為
$db1 = new DB_Sql();
$db1->Database = DATABASE_NAME;
$db1->User = DATABASE_USER;
$db1->Password = DATABASE_PASSWORD;
$db1->Host = DATABASE_HOST;