<td width="5" valign="bottom" class="navigation"> </td> <td valign="bottom" class="navigation"> Customer Management--Display Customer </td> </tr> </table> </td> </tr> </table> <form id="pageForm" name="pageForm" method="post" action="DisplayCustomer.php"> <?php include_once 'DataGrid.php'; ?> </form> </body> </html> <?php if (isset($_GET["customer_id"])) { $custId = $_GET['customer_id']; $service = new CustomerService(); $id = $service->UpdateStatus($custId); if ($id != 0) { alertRedirect(true, 'DisplayCustomer.php'); } else { alertRedirect(false, 'DisplayCustomer.php'); } }