added last_error()

This commit is contained in:
fser 2014-07-08 14:39:37 +02:00
parent 73766ef98a
commit e4ce562920
1 changed files with 3 additions and 0 deletions

View File

@ -107,6 +107,9 @@ class DB_Sql {
return $this->pdo_instance != FALSE;
}
function last_error() {
return $this->error;
}
/**
* Perform a query
*