|
今天学习ci第二天
function showstu(){
echo "数据库操作Active Record<hr>";
$this->load->database();
$this->db->from('stu');
$query=$this->db->get();
foreach ($query->result() as $row){
print $row->name."<br>";
}
}
为什么输入
http://........../www/ci/index.php/blog/showstu
提示:
404 Page Not FoundThe page you requested was not found.
database.php 已经修改过 |
|