讲师回答 / PengCheng
报错的意思是 mysqli_connect 这个函数不存在。mysqli扩展和 我们课程里用的mysql扩展是两个不同的扩展。不要用混了。如果要用mysqli扩展,需要在php.ini里做相应配置。而且需要具备mysqli扩展文件。如果用我们课程里的mysql扩展,目前php5.x 版本都默认支持。
2015-12-22
讲师回答 / PengCheng
如果是test 就指向 testController.class.php index 就指向 indexController.class.php 看你有没有建立这些控制器了。课程里只带大家做了一个 testController.class.php
2015-11-29