如何判断php mysqli扩展类是否开启
php判断mysqli扩展类是否开启,源码如下:
if (mysqlinstalled()){
echo “
} else {
echo “
}
if (mysqliinstalled()){
echo “
} else {
echo “
}
?>
echo “
The mysql extension is installed.
“;} else {
echo “
The mysql extension is not installed..
“;}
if (mysqliinstalled()){
echo “
The mysqli extension is installed.
“;} else {
echo “
The mysqli extension is not installed..
“;}
?>
感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!