视图调用模型问题
$id=$qreply['question_reply_id'];$time=$qreply['question_reply_time'];
$con=$this->show_question->show_card_reply($id,$time);
这样出问题
A PHP Error was encountered
Severity: Notice
Message: Undefined index: card_id
这样
$data['card']=$this->show_question->show_card_reply('945278345','2014-12-28 10:33:52');
却没问题
請勿這樣使用
這不符合 MVC 架構
你可以說說想要建構甚麼樣的概念
也許有另外的方法可以解決
页:
[1]