首页 >后端开发 >php教程 >hp insert into语句出错

hp insert into语句出错

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB原创
2016-06-06 20:40:081190浏览

$db->query_unbuffered("insert into pd_file2tag set tag_name=1,file_id=($file_str)");

sql执行结果

[PHPDisk error!] insert into pd_file2tag set tag_name=1,file_id=('13','12','11','10','9','8','7','5','4','3','2','1')

MySQL Info: Operand should contain 1 column(s) , 1241

请问是哪里出错了呢

回复内容:

$db->query_unbuffered("insert into pd_file2tag set tag_name=1,file_id=($file_str)");

sql执行结果

[PHPDisk error!] insert into pd_file2tag set tag_name=1,file_id=('13','12','11','10','9','8','7','5','4','3','2','1')

MySQL Info: Operand should contain 1 column(s) , 1241

请问是哪里出错了呢

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn