Welcome Guest, Not a member yet? Register   Sign In
Update data in DB
#2

(This post was last modified: 07-06-2017, 04:25 AM by rtenny.)

I can see your function edit()
But not that this function is ever called.
In you controller when the form is valid you need to call the edit function to save the data.

You also always call $this->tutoriel_model->ajouter_tutoriel() that will create a new record every time.
it will not update any existing data.
On the package it said needs Windows 7 or better. So I installed Linux.
Reply


Messages In This Thread
Update data in DB - by tonny16 - 07-05-2017, 11:36 PM
RE: Update data in DB - by rtenny - 07-06-2017, 04:23 AM
RE: Update data in DB - by tonny16 - 07-06-2017, 07:57 AM
RE: Update data in DB - by rtenny - 07-06-2017, 09:03 AM
RE: Update data in DB - by tonny16 - 07-06-2017, 10:15 AM



Theme © iAndrew 2016 - Forum software by © MyBB