我是新CI中我看到視頻博客教程從笨,但是當我期運用腳手架,並嘗試添加的東西給我喜歡這個按摩。請求的URL /index.php/blog/scaffolding/add在此服務器上找到
<?php
class Blog extends Controller {
function Blog()
{
parent::Controller();
$this->load->scaffolding('entries');
}
function index()
{
$data['title'] = "This is my title of the page";
$data['heading'] = "This is my heading of page";
$data['todo'] = array("First Name: waliullah", "Last Name: Masud", "Full Name: Waliullah Masud");
$this->load->view('blog_view', $data);
}
}
?>