Marijn button #99
@@ -87,12 +87,12 @@ function updateSettings() {
|
||||
`userID` = :userID
|
||||
");
|
||||
|
||||
$stmt->bindParam(":fname", test_input($_POST["fname"]));
|
||||
$stmt->bindParam(":lname", test_input($_POST["lname"]));
|
||||
$stmt->bindParam(":location", test_input($_POST["location"]));
|
||||
$stmt->bindParam(":bday", $_POST["bday"]);
|
||||
$stmt->bindParam(":bio", test_input($_POST["bio"]));
|
||||
$stmt->bindParam(":userID", $_SESSION["userID"]);
|
||||
$stmt->bindValue(":fname", test_input($_POST["fname"]));
|
||||
$stmt->bindValue(":lname", test_input($_POST["lname"]));
|
||||
$stmt->bindValue(":location", test_input($_POST["location"]));
|
||||
$stmt->bindValue(":bday", $_POST["bday"]);
|
||||
$stmt->bindValue(":bio", test_input($_POST["bio"]));
|
||||
$stmt->bindValue(":userID", $_SESSION["userID"]);
|
||||
|
||||
$stmt->execute();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user