0 ORDER BY expense_year DESC"); $sql_categories = mysqli_query($mysqli, "SELECT * FROM categories WHERE category_type = 'Expense' ORDER BY category_name ASC"); // For chart Y-axis max $largest_expense_month = 0; ?>
| Category | January | February | March | April | May | June | July | August | September | October | November | December | Total |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| -01&dtt=-31"> | |||||||||||||
| Total | 0"); $rowt = mysqli_fetch_array($sql_expenses); $expense_total_amount_for_month = floatval($rowt['expense_total_amount_for_month']); $grand_total_all_months += $expense_total_amount_for_month; ?>-01&dtt=-31"> |