<div class="card-box mb-30">
						

						<div class="table-responsive">
							<table>
								<thead>
									<tr>
										<th>No.</th>
										<th>Tahun</th>
										<th>Januari</th>
										<th>Februari</th>
										<th>Maret</th>
										<th>April</th>
										<th>Mei</th>
										<th>Juni</th>
										<th>Juli</th>
										<th>Agustus</th>
										<th>September</th>
										<th>Oktober</th>
										<th>November</th>
										<th>Desember</th>
										
									</tr>
								</thead>
								<tbody>
								<?php $no = 1;
                            foreach ($data_curah->getResult() as $row) : ?>
									<tr>
										<td><?= $no++; ?></td>
										<td><?= $row->Tahun?></td>
										<td><?= $row->Januari?></td>
										<td><?= $row->Februari?></td>
										<td><?= $row->Maret?></td>
										<td><?= $row->April?></td>
										<td><?= $row->Mei?></td>
										<td><?= $row->Juni?></td>
										<td><?= $row->Juli?></td>
										<td><?= $row->Agustus?></td>
										<td><?= $row->September?></td>
										<td><?= $row->Oktober?></td>
										<td><?= $row->November?></td>
										<td><?= $row->Desember?></td>
										
									</tr>
									<?php endforeach; ?>

									
								</tbody>
							</table>
						</div>
					</div>



                    <!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Contoh Tabel HTML</title>
    <style>
        table {
            border-collapse: collapse;
            width: 100%;
        }
        th, td {
            border: 1px solid #dddddd;
            text-align: left;
            padding: 8px;
        }
        th {
            background-color: #f2f2f2;
        }
    </style>
</head>
<body>


</body>
</html>
