有点想不通 为什么我这插入语句是错的 $insert = 'inser into books values('."$isbn". ','."$author".','."$title".','."$price".')';RT 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 books 里字段恰好也是4个才有可能成功否则,请指定(字段1,字段2……) values (……) $insert = 'inser into books values('."$isbn". ','."$author".','."$title".','."$price".')';$insert = 'insert into books values('."$isbn". ','."$author".','."$title".','."$price".')';好好看看,句子的单词是错的insert 因为你插入数据库的时候,author,title之类的应该是字符类型的吧,字符类型的应该要用单引号“'”的~~~~$insert = 'insert into books values('."‘$isbn’". ','."‘$author’".','."‘$title’".','."‘$price’".')';这个样子你再试试,看看是不是可以了~~~~~~~·· 高手请进100份啊--UCHOME中关于文件上传的问题 谁用过PHP做的开源聊天室 推荐一下 运行了个Discuz论坛,老是报out of memory? php 正则如何匹配数字 joomla 打开网站之前先显示一个flash,或者图片背景 qq中带进度条、网速、百分比、暂停等功能 的上传怎么实现 json格式数据加密问题 fckeditor在网上服务器的虚拟路径问题 PHP读取word,还要读取里面的表格样式 thinkphp中关于行为中的常量不解析的现象 转战Php,留贴纪念 最新淘宝 API2.0 接口编写的淘宝客源码下载
$insert = 'insert into books values('."$isbn". ','."$author".','."$title".','."$price".')';
好好看看,句子的单词是错的insert