affected rows become -1 |
[eluser]max123[/eluser]
I ueds Code: $this->db->affeted_rows() why does it gives '-1' when data is not inserted in to the database
[eluser]Phil Sturgeon[/eluser]
Quote:Returns the number of affected rows on success, and -1 if the last query failed. http://uk2.php.net/mysql_affected_rows
|
Welcome Guest, Not a member yet? Register Sign In |