最新回答 / uwenhao2008
我找到問題了,粗心把引用的頁面給搞錯了應該是這個頁面里http://localhost:8088/basic/web/index.php?r=hello/index? 我用的不是phpstudy,是wampserver ??
2015-08-05
已采納回答 / AnnatarHe
你喜歡的話完全可以啊,只是框架會封裝的更好,易用。即便是最簡單的一個原因。$_SESSION要按住shift好長時間才能打完,IDE補全也不要奢望,但是session明顯就簡單多了,打字快。就醬
2015-07-26
最新回答 / qq_ar珼_0
命名空間 ?去 ?admin.php里面 改一下namespace frontend/models;然后在你的控制器 及 用到這個Admin的模型里use frontend/models/Admin;記得 只要是用到這個 Admin的 地方 都要 use
2015-07-22
最新回答 / 落櫻bless
我是按照視頻先訪問自己服務器上面的basic/requirements.php 顯示配置符合Yii要求。然后我才再訪問的basic/web/index.php ? ? index.php全部代碼如下:<?php// comment out the following two lines when deployed to productiondefined('YII_DEBUG') or define('YII_DEBUG', true);defined('YII_ENV') or define('Y...
2015-07-20