diff options
Diffstat (limited to '')
-rw-r--r-- | include/dblayer/functions_mysqli.inc.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/dblayer/functions_mysqli.inc.php b/include/dblayer/functions_mysqli.inc.php index 97c1b873e..2c7f0c6af 100644 --- a/include/dblayer/functions_mysqli.inc.php +++ b/include/dblayer/functions_mysqli.inc.php @@ -189,6 +189,20 @@ function pwg_db_insert_id() return $mysqli->insert_id; } +function pwg_db_errno() +{ + global $mysqli; + + return $mysqli->errno; +} + +function pwg_db_error() +{ + global $mysqli; + + return $mysqli->error; +} + function pwg_db_close() { global $mysqli; |