aboutsummaryrefslogtreecommitdiffstats
path: root/include/dblayer/functions_mysqli.inc.php
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2013-02-01 12:18:00 +0000
committermistic100 <mistic@piwigo.org>2013-02-01 12:18:00 +0000
commit21c97f38588b3350e9ebc1e37a985b64fd5b9f1b (patch)
treede1f927cf45eb80da23a287d586cab4ed4d13821 /include/dblayer/functions_mysqli.inc.php
parent3edee072527b6ac58ee0a7734900758e6606d06e (diff)
feature:65 add fetch_array SQL functions
git-svn-id: http://piwigo.org/svn/trunk@20510 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/dblayer/functions_mysqli.inc.php')
-rw-r--r--include/dblayer/functions_mysqli.inc.php5
1 files changed, 5 insertions, 0 deletions
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();