mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-16 22:42:16 +00:00
This commit is contained in:
@@ -88,14 +88,17 @@ if($statistik->sql!='')
|
||||
{
|
||||
$html.= '<tr>';
|
||||
$anzahl_spalten = $db->db_num_fields($result);
|
||||
for($spalte=1;$spalte<$anzahl_spalten;$spalte++)
|
||||
for($spalte=0;$spalte<$anzahl_spalten;$spalte++)
|
||||
{
|
||||
$name = $db->db_field_name($result,$spalte);
|
||||
$html.= '<td>'.$row->$name.'</td>';
|
||||
$csv.= '"'.$row->$name.'",';
|
||||
|
||||
$name_spalte_0 = $db->db_field_name($result,0);
|
||||
$json[$row->$name_spalte_0][$name]=$row->$name;
|
||||
if($spalte>0)
|
||||
{
|
||||
$name_spalte_0 = $db->db_field_name($result,0);
|
||||
$json[$row->$name_spalte_0][$name]=$row->$name;
|
||||
}
|
||||
}
|
||||
$html.= '</tr>';
|
||||
$csv=substr($csv,0,-1)."\n";
|
||||
|
||||
Reference in New Issue
Block a user