Update client_settings.php

This commit is contained in:
jakani24
2024-02-08 20:40:45 +01:00
parent d7e9c0f6fb
commit ac76cfe6eb

View File

@@ -59,7 +59,7 @@ function add_item($db,$value,$field){
die("Connection failed: " . $conn->connect_error); die("Connection failed: " . $conn->connect_error);
} }
$db=htmlspecialchars($db); $db=htmlspecialchars($db);
$field=htmlspecialchars($filed); $field=htmlspecialchars($field);
$stmt = $conn->prepare("INSERT INTO $db ($field) VALUES(?);"); $stmt = $conn->prepare("INSERT INTO $db ($field) VALUES(?);");
$stmt->bind_param("s",$value); $stmt->bind_param("s",$value);
$stmt->execute(); $stmt->execute();