PHP Classes

File: fwphp/01mater/shop/ch24_guitar_shop/admin/orders/confirm_delete.php

Recommend this page to a friend!
  Classes of Slavko Srakocic  >  B12 PHP FW  >  fwphp/01mater/shop/ch24_guitar_shop/admin/orders/confirm_delete.php  >  Download  
File: fwphp/01mater/shop/ch24_guitar_shop/admin/orders/confirm_delete.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: B12 PHP FW
Manage database records with a PDO CRUD interface
Author: By
Last change:
Date: 2 months ago
Size: 777 bytes
 

Contents

Class file image Download
<?php include 'view/header.php'; ?>
<?php
include 'view/sidebar_admin.php'; ?>
<main>
    <h2>Delete Order</h2>
    <p>Order Number: <?php echo $order_id; ?></p>
    <p>Order Date: <?php echo $order_date; ?></p>
    <p>Customer: <?php echo htmlspecialchars($customer_name) . ' (' .
           
htmlspecialchars($email) . ')'; ?></p>
    <p>Are you sure you want to delete this order?</p>
    <form action="." method="post">
        <input type="hidden" name="action" value="delete">
        <input type="hidden" name="order_id"
               value="<?php echo $order_id; ?>">
        <input type="submit" value="Delete Order">
    </form>
    <form action="." method="post">
        <input type="submit" value="Cancel">
    </form>
</main>
<?php include 'view/footer.php'; ?>

For more information send a message to info at phpclasses dot org.