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:
parent
3edee07252
commit
21c97f3858
2 changed files with 10 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue