diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/dblayer/functions_mysql.inc.php | 5 | ||||
-rw-r--r-- | include/dblayer/functions_mysqli.inc.php | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/include/dblayer/functions_mysql.inc.php b/include/dblayer/functions_mysql.inc.php index f8182bdf4..2fbf8d3e9 100644 --- a/include/dblayer/functions_mysql.inc.php +++ b/include/dblayer/functions_mysql.inc.php @@ -144,6 +144,11 @@ function pwg_db_num_rows($result) return mysql_num_rows($result); } +function pwg_db_fetch_array($result) +{ + return mysql_fetch_array($result); +} + function pwg_db_fetch_assoc($result) { return mysql_fetch_assoc($result); diff --git a/include/dblayer/functions_mysqli.inc.php b/include/dblayer/functions_mysqli.inc.php index af42b865b..97c1b873e 100644 --- a/include/dblayer/functions_mysqli.inc.php +++ b/include/dblayer/functions_mysqli.inc.php @@ -150,6 +150,11 @@ function pwg_db_num_rows($result) return $result->num_rows; } +function pwg_db_fetch_array($result) +{ + return $result->fetch_array(); +} + function pwg_db_fetch_assoc($result) { return $result->fetch_assoc(); |