"; $tableRows .= "" . htmlspecialchars($item['yearMonth']) . ""; $tableRows .= "" . htmlspecialchars($item['customerName']) . ""; $tableRows .= "" . number_format($item['amount']) . ""; $tableRows .= ""; $tableRows .= ""; } } else { $tableRows = "제외된 항목이 없습니다."; } echo $tableRows; ?>