|
PHP复制代码 $data = array(
'site_name' => $this->input->post('site_name'),
'keywords' => $this->input->post('keywords'),
'title_keywords' => $this->input->post('title_keywords'),
'copyright' => $this->input->post('copyright'),
'descript' => $this->input->post('descript'),
'telephone' => $this->input->post('telephone'),
'cell_phone' => $this->input->post('cell_phone'),
'email' => $this->input->post('email')
);
$this->db->update('options', $data, 'id = 1');
复制代码
我如何判断 $this->db->update('options', $data, 'id = 1'); 语句是否操作成功?
|
|