【发布时间】:2018-07-02 06:37:05
【问题描述】:
我在用php做的技术面板中遇到了如下问题,
你能帮忙吗
代码块:
<input type="text" class="span5" name="title" value="<?php echo $category->title; ?>"/>
Contorellers 块:
$viewdata = new stdClass();
$category = $this->db->where("id", $id) -> get ("category")->row();
$this->load->view("category_edit", $viewdata);
【问题讨论】:
-
请添加您的错误信息、您正在使用的框架以及更多信息。
标签: php html codeigniter