当前位置:Gxlcms > PHP教程 > hpinsertinto语句出错

hpinsertinto语句出错

时间:2021-07-01 10:21:17 帮助过:3人阅读

$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

请问是哪里出错了呢

人气教程排行