Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- echo "<tbody>";
- $totjml=0;
- $totnom=0;
- foreach ($data->message->row as $row) {
- $totjml=$totjml+$row->jml;
- $totnom=$totnom+$row->nominal;
- $nom =+ $row->nominal;
- $noms = "Rp. ".number_format($nom, 0, ',', '.');
- $tots = "Rp. ".number_format($totnom, 0, ',', '.');
- echo "<tr class='gradeX'>";
- echo "<td class='center'>$nomor</td>";
- echo "<td class='center'>$row->tgl</td>";
- echo "<td class='center'>$row->jam</td>";
- echo "<td>$row->nama</td>";
- echo "<td class='center'>$row->jml</td>";
- echo "<td class='center'>$noms</td>";
- echo "<td>$row->produk</td>";
- echo "<td>$row->ket</td>";
- echo "</tr>";
- $nomor++;
- }
- echo "</tbody>";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement