You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '? = ? WHERE `Username` = ?' at line 1
require 'mysqli_data/mysqli_connection.php'; $qString = $gConnection->prepare("UPDATE `accounts` SET ? = ? WHERE `Username` = ?"); printf($gConnection->error); $qString->bind_param('sss', $key, $data, $gConnection->real_escape_string($user)); $qString->execute(); $qString->close(); return true;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)