$ logquery =“ INSERT INTO new_data_entry_log
(directory
,ip
,description
,state
,status
,instituteid
,email
,category
,bandwidth
,project
, institutehead
,contactnumber
,landlinenumber
,latitude
,longitude
,clientip
,added by
,added on
,added at
)值('$ directory','$ ipaddress','$ description','$ state','$ status','$ instituteid','$ contactemail','$ bandwidth','$ institutehead','$ contactNumber','$ contactlandlinenumber','$ latitude','$经度','$ clientip','$ name','$ currentdate','$ currenttime')“;
最佳答案
我可以看到列数和相关值数不匹配。可能是问题所在。
您是否尝试过删除变量的单行?