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