Problem with Insert Data into Sql Server's Table |
Hi Guys, need your help, i faced problem when inserting data into sql server's table. I've tried several methods namely :
here is my model syntax Code: $this->db->insert('tb_customer',$data) Code: function save(){ Code: $this->db->set('name', $this->input->post('namepelanggan')); Please help me to fix this problem, thank you
Try this at the end of your model function:
PHP Code: Echo $this->db->last_query(); It will show you the SQL query that is used to insert the data. |
Welcome Guest, Not a member yet? Register Sign In |