![]() |
Edit Record problem - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Edit Record problem (/showthread.php?tid=47740) |
Edit Record problem - El Forum - 12-20-2011 [eluser]Unknown[/eluser] Hello , i have page which view all records from database on link : http://localhost/databox/index.php/adminme/news and i have made controller,model and view to show a specific record information in a form and if user want to edit any value he can by click submit on that form on the link: http://localhost/databox/index.php/adminme/news/edit/$id ,but its not working !! controller/news/ ================ Code: function edit() Model Code/news_model/ ====================== Code: function get_record($id) // RETRIEVE Specific RECORD Date so what i want is when clicking on link like: http://localhost/databox/index.php/adminme/news/edit/85 show a new page contain a form with Record ID 85 values , user can change this values then click submit to change the record on database. any help is appreciated . thank you. |