请问,这个数据库错误怎么解决?谢谢

www_xiakeweb_net 2017-12-03 06:38:32
插入新纪录

$body 是 <iframe height=498 width=510 src='http://player.youku.com/embed/XMzIwMDU4OTcxMg==' frameborder=0 'allowfullscreen'></iframe>

post 传递

insert into date (aid,typeid,body)values('$idid','$typeid','$body')

返回错误

Error creating database: 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 'http://player.youku.com/embed/XMTgwNTMxNzU0MA==' frameborder=0 'allowfullscreen'' at line 1”

请问,这个数据库错误怎么解决
...全文
69 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
rucypli 2017-12-04
  • 打赏
  • 举报
回复
用双引号试试

56,675

社区成员

发帖
与我相关
我的任务
社区描述
MySQL相关内容讨论专区
社区管理员
  • MySQL
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧