数据库实例化基础模型连接超时
if(mysql_connect('localhost','root','123456')){ echo"success"; }else{ echo "fail"; }
可以成功连接数据库但是一进行实例化基础模型
$user = new Model('fb');//fb是表名
$data = $user->select();
dump($data);
就报错是怎么回事?
success
Fatal error: Maximum execution time of 60 seconds exceeded in E:\php\AppServ\www\Message\thinkphptest1\ThinkPHP\Lib\Core\Think.class.php on line 271
:(
Maximum execution time of 60 seconds exceeded
错误位置
FILE: E:\php\AppServ\www\Message\thinkphptest1\ThinkPHP\Lib\Core\Think.class.php LINE: 271
ThinkPHP3.1.3 { Fast & Simple OOP PHP Framework } -- [ WE CAN DO IT JUST THINK ]