From 52d3b59d43d1c4894a38d47b9606c0f1cff95156 Mon Sep 17 00:00:00 2001 From: Ian C Date: Mon, 25 Jun 2018 21:02:25 +0000 Subject: Added group parameter to PHP pages and started on Load functionality. --- www/edit.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'www/edit.php') diff --git a/www/edit.php b/www/edit.php index 9e78e88..7bcd604 100644 --- a/www/edit.php +++ b/www/edit.php @@ -29,15 +29,18 @@ try $id = $_REQUEST["id"]; $description = $_REQUEST["description"]; + $group = $_REQUEST["group"]; $username = $_REQUEST["username"]; $password = $_REQUEST["password"]; $cmd = $db->prepare("UPDATE pm_store " . "set description=:description, " . + "groupname=:group, " . "username=:username, " . "password=:password where id = :id"); $cmd->bindParam(":id", $id); $cmd->bindParam(":description", $description); + $cmd->bindParam(":group", $group); $cmd->bindParam(":username", $username); $cmd->bindParam(":password", $password); $cmd->execute(); -- cgit v1.2.3