Time: 2010-3-23 2:02pm
SQL: REPLACE INTO <数据名字>.cdb_attachmentfields (aid, tid, pid, uid, description) VALUES ('', '120', '1373', '117', 'Wrist hurts. Kings don't.');
Error: 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 't.')' at line 1
Errormsg.: 可能原因:1.数据超长或类型不匹配;2.数据库记录重复
Errno.: 1064
我看了 pw_attachs的descrip的column 是有这个 Wrist hurts. Kings don't.
所以是这个标点符号的关系? don't 的 '?
所有在我的 pw_attachs 的 descrip 的column 有这些标点符号的都不能转?
step_6.php
line 81 $description = cutstr(htmlspecialchars(trim($at['desc'])), 100);
cutstr这个function 不是 php 的 built in function 但是在 dz的转换程序的 function.php 也没看到呢
请问那里能看到,或那里可以能知道是做什么的。谢谢 |