Welcome Guest, Not a member yet? Register   Sign In
Update and checking
#1

[eluser]VivaUkraine[/eluser]
How to ensure that updating was succesfull?

i've a method:

Code:
function update_news($id){
    $this->db->where('id', $id);
    $this->db->update('news', $_POST);
    
    }

how can i check was the data updated and if no to output some error message?


Messages In This Thread
Update and checking - by El Forum - 06-26-2007, 03:08 PM
Update and checking - by El Forum - 06-26-2007, 05:31 PM
Update and checking - by El Forum - 06-26-2007, 11:57 PM
Update and checking - by El Forum - 06-28-2007, 07:31 AM
Update and checking - by El Forum - 06-28-2007, 07:39 AM



Theme © iAndrew 2016 - Forum software by © MyBB