diff options
Diffstat (limited to 'code/db.inc.php')
-rw-r--r-- | code/db.inc.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/code/db.inc.php b/code/db.inc.php index 2f83f58..3f5c444 100644 --- a/code/db.inc.php +++ b/code/db.inc.php @@ -13,5 +13,9 @@ $sql = $GLOBALS['conn']->Prepare($query); return $GLOBALS['conn']->Execute($sql, $args); } + + function DBInsertID() { + return $GLOBALS['conn']->Insert_ID(); + } } ?> |