Edit form echoes previously saved data correctly but does not update the form fields

后端 未结 2 1948
天涯浪人
天涯浪人 2021-01-15 17:18

Echoing previously saved data (excluding those from dropdown values) already works fine for me. I could see correct data saved for a particular record, however, after editin

相关标签:
2条回答
  • 2021-01-15 17:27

    i think your problem is with this : redirect('client/manage_jobs?message=Job updated.'); instead use something like $this->load->view('success');

    create a view called success and write a message saying success. put it after the update/insert function

    Hope this helps

    0 讨论(0)
  • 2021-01-15 17:30

    I had to add $id = $obj['id']; to update particular entry attempted to be edited

    0 讨论(0)
提交回复
热议问题