<?php echo $row['app_id']; ?>
if (isset($_GET["id"])) { $id = $_GET["id"]; echo "ID: ".$id; if (isset($_GET["action"])) { $action = $_GET["action"]; echo "ACTION: ".$action; switch ($action) { case "approveapp": $sql = "UPDATE tblapplications SET approved = 1 WHERE app_id = $id"; echo $sql; mysqli_query($conn, $sql); break; } } else { $action = ""; } } else { $id = ""; }
windows.location.href
window.location.href
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)