rename the links in the vars php files.

This commit is contained in:
Mark Crane
2012-11-24 01:24:13 +00:00
parent b0074a00bb
commit 3710cd0d29
5 changed files with 15 additions and 20 deletions
+2 -3
View File
@@ -40,8 +40,7 @@ if (count($_GET)>0) {
//delete the data
if (strlen($id)>0) {
$sql = "";
$sql .= "delete from v_vars ";
$sql = "delete from v_vars ";
$sql .= "where var_uuid = '$id' ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
@@ -52,7 +51,7 @@ if (count($_GET)>0) {
//redirect the user
require_once "includes/header.php";
echo "<meta http-equiv=\"refresh\" content=\"2;url=v_vars.php\">\n";
echo "<meta http-equiv=\"refresh\" content=\"2;url=vars.php\">\n";
echo "<div align='center'>\n";
echo "Delete Complete\n";
echo "</div>\n";