作者:智勇双全882602900857_984 | 来源:互联网 | 2023-05-18 04:18
IaskedGoogletohelpmeIgotnoluck.:-(Herestheparticularcodethatgeneratestheerror:我请
I asked Google to help me I got no luck. :-( Here's the particular code that generates the error:
我请求谷歌帮助我,我没有运气。:-(这里是生成错误的特定代码:
$this->conn->query("UPDATE tz_members SET cOnfirm='yes' WHERE usr='".$uname."'");
The whole function is the following:
整个功能如下:
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 have missed something stupid. Can anyone tell me what's causing the problem please???
如果我错过了一些愚蠢的事情,请原谅我。有人能告诉我出了什么问题吗???
4 个解决方案