// No more mysql_error() hard coded !

This commit is contained in:
rMalie
2011-07-19 11:35:33 +00:00
parent ba2922a823
commit 5c16ddce4a
7 changed files with 29 additions and 30 deletions
+2 -3
View File
@@ -204,7 +204,7 @@ class MySQLCore extends Db
return mysql_insert_id($this->_link);
return false;
}
public function Affected_Rows()
{
if ($this->_link)
@@ -228,11 +228,10 @@ class MySQLCore extends Db
}
return false;
}
/**
* Returns the text of the error message from previous MySQL operation
*
* @acces public
* @return string error
*/
public function getMsgError($query = false)