prepare($paymentSql); $stmt->execute(); $result = $stmt->get_result(); if ($result->num_rows > 0) { echo ''; echo ''; while ($row = $result->fetch_assoc()) { echo ""; } } else { echo ''; } ?>
Date ID Name Description Amount Status
" . htmlspecialchars($row['date']) . " " . htmlspecialchars($row['payment_id']) . " " . htmlspecialchars($row['first_name'] . ' ' . $row['last_name']) . " " . htmlspecialchars($row['description']) . " " . htmlspecialchars($row['amount']) . " " . htmlspecialchars($row['status']) . "
No records found