I asked Google to help me, I was out of luck. :-( Here is the specific code that generates the error:
$this->conn->query("UPDATE tz_members SET confirm='yes' WHERE usr='".$uname."'");
The whole function is as follows:
function update_confirm_field($code) { $uname = $this->conn->query("SELECT usr FROM tz_members WHERE confirm='".$code."'"); $this->conn->query("UPDATE tz_members SET confirm='yes' WHERE usr='".$uname."'"); }
Forgive me if I missed something stupid. Can someone tell me what is causing the problem, please?
Joann source share