mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
feature:65 add fetch_array SQL functions
git-svn-id: http://piwigo.org/svn/trunk@20510 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user