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
2172

namespace admin\Controller;
use Think\Controller;
class IndexController extends Controller {
public function index(){
$this->show('12345667',utf-8);
}
}

蛋糕
蛋糕

reply all (3)
晨光熹微

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.



    lz泞

    What you wrote was for TP3.2, but now you are teaching for ThinkPHP5.0~

      lge

      Is the controller written wrong?

        Latest Downloads
        More>
        Web Effects
        Website Source Code
        Website Materials
        Front End Template
        About us Disclaimer Sitemap
        php.cn:Public welfare online PHP training,Help PHP learners grow quickly!