Changed binParam for bindValue
This commit is contained in:
@@ -87,12 +87,12 @@ function updateSettings() {
|
|||||||
`userID` = :userID
|
`userID` = :userID
|
||||||
");
|
");
|
||||||
|
|
||||||
$stmt->bindParam(":fname", test_input($_POST["fname"]));
|
$stmt->bindValue(":fname", test_input($_POST["fname"]));
|
||||||
$stmt->bindParam(":lname", test_input($_POST["lname"]));
|
$stmt->bindValue(":lname", test_input($_POST["lname"]));
|
||||||
$stmt->bindParam(":location", test_input($_POST["location"]));
|
$stmt->bindValue(":location", test_input($_POST["location"]));
|
||||||
$stmt->bindParam(":bday", $_POST["bday"]);
|
$stmt->bindValue(":bday", $_POST["bday"]);
|
||||||
$stmt->bindParam(":bio", test_input($_POST["bio"]));
|
$stmt->bindValue(":bio", test_input($_POST["bio"]));
|
||||||
$stmt->bindParam(":userID", $_SESSION["userID"]);
|
$stmt->bindValue(":userID", $_SESSION["userID"]);
|
||||||
|
|
||||||
$stmt->execute();
|
$stmt->execute();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user