如何判断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..
“;}
?>
感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!
由 dawei
【声明】:西安站长网内容转载自互联网,其相关言论仅代表作者个人观点绝非权威,不代表本站立场。如您发现内容存在版权问题,请提交相关链接至邮箱:bqsm@foxmail.com,我们将及时予以处理。