<?php require_once '../../models/Sippers.php'; $results = Shippers::GetAll(); ?> <!DOCTYPE html> <html lang="en"> <?php include '../../inc/head.php'; ?> <body> <div> <?php include '../../inc/nav.php'; ?> <div id="content"> </div> <?php include '../../inc/footer.php'; ?> </div> </body> </html>
<?php require_once '../../models/Shippers.php'; if (isset($_POST['id'])) { $row = $_POST; $response = Shippers::Update($row); if ($response === true) { header("Location: index.php"); } } else { $row = Shippers::Get($_REQUEST['id']); } ?> <!DOCTYPE html> <html lang="en"> <?php include '../../inc/head.php'; ?> <body> <div> <?php include '../../inc/nav.php'; ?> <div id="content"> <?php if (isset($response)) { ?>