銝蝡鈭箸活嚗
$hostName = "mysql5host"; $user = "moe"; $password = "ncu7910"; $databaseName = "moe"; //以下是與資料庫的連線 $conn = mysqli_connect($hostName , $user , $password) or die("連結資料庫失敗!!"); //連線成功後 $select_db = mysqli_select_db( $conn, $databaseName) or die("選擇資料庫失敗!!"); ?>