在PHP程序代码中,可用mysqli_connect函数连接数据库
下面是一些常用函数,只有了解了函数的基本功能,才能更好的进行操作。
用法请参考https://www.runoob.com/php/php-ref-mysqli.html