prepare('SELECT * FROM taxes ORDER BY country ASC'); $stmt->execute(); $taxes = $stmt->fetchAll(PDO::FETCH_ASSOC); // Handle success messages if (isset($_GET['success_msg'])) { if ($_GET['success_msg'] == 1) { $success_msg = 'Tax created successfully!'; } if ($_GET['success_msg'] == 2) { $success_msg = 'Tax updated successfully!'; } if ($_GET['success_msg'] == 3) { $success_msg = 'Tax deleted successfully!'; } } ?> =template_admin_header('Taxes', 'taxes')?>
View, create, and edit taxes.
=$success_msg?>
| # | Country | Tax Rate | Actions |
| There are no taxes | |||
| =$tax['id']?> | =$tax['country']?> | =$tax['rate']?>% | Edit |