Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Can't update primary key
Post: RE: Can't update primary key

hi  KimZ, (http://forum.codeigniter.com/user-7339.html) thanks for your reply, so i must use if else in my controller? can you give me full code for controller for update's function?
5,280 Views
4 Replies
11-25-2016, 01:48 AM
uglyaditya
    Thread: Can't update primary key
Post: RE: Can't update primary key

i follow your suggest and this my model: PHP Code: -- // update data    function update($id, $data)    { $this->db->where('nis', $id); $this->db->update($this->table, $data);    } --...
5,280 Views
4 Replies
11-08-2016, 05:28 PM
uglyaditya
    Thread: Can't update primary key
Post: Can't update primary key

Hi everyone, i new in codeigniter and i have problem with my code, i create CRUD aplication with Codeigniter 3 and these my codes: my table: Code: -- CREATE TABLE `siswa` (  `nis` varchar(15)...
5,280 Views
4 Replies
11-07-2016, 08:39 PM
uglyaditya

Theme © iAndrew 2016 - Forum software by © MyBB