Please tell me when you want to reflect the template, I made a mistake. The c error is Fatal error: Class 'Think\Controller' not found in
蛋糕2018-01-13 23:04:32
0
3
2214
<?php namespace admin\Controller; use Think\Controller; class IndexController extends Controller { public function index(){ $this->show('12345667',utf-8); } }
It may be related to the code compiler you are using. I will report this error when I use HBuilder to read and modify the box on the right side, but it will display normally when browsing with a browser.
It may be related to the code compiler you are using. I will report this error when I use HBuilder to read and modify the box on the right side, but it will display normally when browsing with a browser.
What you wrote was for TP3.2, but now you are teaching for ThinkPHP5.0~
Is the controller written wrong?