課程
/后端開發(fā)
/PHP
/Yii框架不得不說的故事—基礎(chǔ)篇(1)
代碼寫的一樣,為什么hello index和hello about不顯示呢
2016-06-08
源自:Yii框架不得不說的故事—基礎(chǔ)篇(1) 4-4
正在回答
需要在views目錄下創(chuàng)建對(duì)應(yīng)的index.php與about.php,還有看自己控制器有沒有public $layout = 'common';
以及操作的有沒有返回值。return $this->render('index');或return $this->render('about');
舉報(bào)
通過本視頻教程,為學(xué)習(xí)YII的快速、安全、專業(yè)的特性打下基礎(chǔ)
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號(hào)-11 京公網(wǎng)安備11010802030151號(hào)
購(gòu)課補(bǔ)貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動(dòng)學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號(hào)
2016-06-11
需要在views目錄下創(chuàng)建對(duì)應(yīng)的index.php與about.php,還有看自己控制器有沒有public $layout = 'common';
以及操作的有沒有返回值。return $this->render('index');或return $this->render('about');