📜  php mysql 文本标记问题 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:22.547000             🧑  作者: Mango

代码示例2
$MySQL_Handle = mysqli_connect(HOSTNAME,DATABASE_USERNAME,DATABASE_PASSWORD,DATABASE_NAME) 
or die ( mysqli_error($MySQL_Handle) ); 

$sSQL= 'SET CHARACTER SET utf8'; 

mysqli_query($MySQL_Handle,$sSQL) 
or die ('Can\'t charset in DataBase');