[eluser]minerbog[/eluser]
Hi Guys,
I have looked at the source but it isn't completely obvious! Well not to me!!
From what I can find out in the code, the $this->db->update() function returns a sql statement. But when in my code I grab the return to a variable and echo it, it shows 1.
Now I've never managed to echo an error yet as CI always displays it's main DB error message, but I am assuming that on an error it would return 0??
Also, if this is that case, is that the same for all write functions??
Many Thanks
Gavin.