老师在不
$tajuk = trim(input('post.title'));
$site = $this->db->table('sites')->where(array('namas '=>'tapak'))->item();
if(!$site){
$this->db->table('sites')->insert(array(' names'=>'site','values'=>json_encode($title)));
}else{
$value['values'] = json_encode($title);
$this-> ;db->jadual('tapak')->di mana(susun('nama'=>'tapak'))->kemas kini($nilai);
}
Anda perlu melihat kesilapan yang dilaporkan dan merawatnya***