mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-11 09:09:28 +00:00
Exportparameter für db_fetch_array hinzugefügt
This commit is contained in:
@@ -103,7 +103,7 @@ if ($semester != '')
|
||||
$zeile=1;
|
||||
if ($result = $db->db_query($qry))
|
||||
{
|
||||
while ($row = $db->db_fetch_array($result))
|
||||
while ($row = $db->db_fetch_array($result, null, PGSQL_BOTH))
|
||||
{
|
||||
$zeile++;
|
||||
$i = 0;
|
||||
@@ -150,7 +150,7 @@ if ($result = $db->db_query($qry))
|
||||
}
|
||||
|
||||
$zeile++;
|
||||
while ($row_betreuer = $db->db_fetch_array($result_betreuer))
|
||||
while ($row_betreuer = $db->db_fetch_array($result_betreuer, null, PGSQL_BOTH))
|
||||
{
|
||||
$i = 1;
|
||||
|
||||
|
||||
@@ -172,12 +172,12 @@ class basis_db extends db
|
||||
return pg_result_seek($result, $offset);
|
||||
}
|
||||
|
||||
public function db_fetch_array($result=null)
|
||||
public function db_fetch_array($result=null, $row=null, $result_type=PGSQL_NUM)
|
||||
{
|
||||
if(is_null($result))
|
||||
return pg_fetch_array($this->db_result);
|
||||
return pg_fetch_array($this->db_result, $row, $result_type);
|
||||
else
|
||||
return pg_fetch_array($result);
|
||||
return pg_fetch_array($result, $row, $result_type);
|
||||
}
|
||||
|
||||
public function db_num_fields($result=null)
|
||||
|
||||
Reference in New Issue
Block a user