In this video you can find How to update data in Codeigniter with MySQL. Update data in MySQL table using CodeIgniter. CodeIgniter Update Data In Database.
Original source
In this video you can find How to update data in Codeigniter with MySQL. Update data in MySQL table using CodeIgniter. CodeIgniter Update Data In Database.
Original source
15 responses to “9 – Codeigniter Tutorials – Update Mysql Table Data”
thanks weblessons for this beautiful codeigniter tutorial and also good comments with corrections
i love the way you explain your code. very detailed.
7:36 correct is delete the " after first_name
corrected 10:00
for updating table
foreach is not correct
i can't understand part 8:54 any explanation ?
great tutorial, even some errors are hidden !!!
yes "foreach($user_data->result() as $row)"
my data successfully updated but after that it not inserting any data shows the blank page:http://localhost:8080/ci/main/form_validation
please help me….
hello sir i m trying to use ck editor in this model it, s working fine but not inserting the data to database can you helph me plz
We can also load the model in constructor function of the controller instead of redeclaring it again and again in individual function of the controller.
7:02 correct is "foreach($user_data->result() as $row)"
This works for me but the other query you build was not working for me
$this->db->select("*");
$this->db->from("users");
$this->db->where('id',$id);
$query = $this->db->get();
This fetch_single_data causing error