火车采集器软件交流官方论坛

 找回密码
 加入会员
搜索
火车采集器V9版免费下载火车浏览器 - 可视采集,万能群发,全自动脚本工具
查看: 1995|回复: 3

入库问题:出现错误

[复制链接]
发表于 2011-1-15 15:56:26 | 显示全部楼层 |阅读模式
入库的结果:出现错误 kfy_coclass表1-错误信息:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1出现错误 表2-错误信息:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '0, 0, '分类名称', 0, '3', 'flei', 1, 0, 0, 0, 0, 0, 0, 0, 0, '0', '0', '0', 0, 0' at line 1


执行的sql语句:INSERT INTO `kfy_coclass` (`pid`, `level`, `title`, `isframe`, `chids`, `dirname`, `coid`, `vieworder`, `trueorder`, `apmid`, `crpmid`, `rpmid`, `dpmid`, `allowsale`, `allowfsale`, `taxcp`, `awardcp`, `ftaxcp`, `clicks`, `archives`, `conditions`, `brand_img`, `name`, `phone`, `fax`, `address`, `hotline`, `introduction`, `website`, `meil`) VALUES
(0, 0, '分类名称', 0, '3', 'flei', 1, 0, 0, 0, 0, 0, 0, 0, 0, '0', '0', '0', 0, 0, '', 'userfiles/image/20110114/14215049da853b3b2d2896.gif#100#50', '公名', 'dianhua, 'zhuanzhen, '地zhi', 'rexian', '介绍', 'guan网', '邮件')


这个sql语句在phpmyadmin里面执行是正常的,但是为什么在入库模块里面无法执行呢?
 楼主| 发表于 2011-1-15 16:12:46 | 显示全部楼层
灰常 的着急!!!
 楼主| 发表于 2011-1-15 16:23:52 | 显示全部楼层
成功解决,哎,谢谢大家,是因为VALUES后面不能换行,呵呵。
发表于 2011-1-16 00:24:18 | 显示全部楼层
呵呵,自己解决了最好。是SQL语句本身的问题。
您需要登录后才可以回帖 登录 | 加入会员

本版积分规则

QQ|手机版|Archiver|火车采集器官方站 ( 皖ICP备06000549 )

GMT+8, 2025-5-18 11:10

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表