CDR: Database class integration.

This commit is contained in:
Nate
2019-09-03 08:29:44 -06:00
parent 12a3ca6877
commit cc33248ac7
14 changed files with 707 additions and 614 deletions
+3 -3
View File
@@ -43,7 +43,7 @@ else {
//show the column names on the first line
$z = 0;
foreach($stats[1] as $key => $val) {
foreach ($stats[1] as $key => $val) {
if ($z == 0) {
echo '"'.$key.'"';
}
@@ -56,9 +56,9 @@ else {
//add the values to the csv
$x = 0;
foreach($stats as $row) {
foreach ($stats as $row) {
$z = 0;
foreach($row as $key => $val) {
foreach ($row as $key => $val) {
if ($z == 0) {
echo '"'.$stats[$x][$key].'"';
}