Home  >  Article  >  Backend Development  >  SQL语句的有关问题

SQL语句的有关问题

WBOY
WBOYOriginal
2016-06-13 13:53:431028browse

SQL语句的问题
$sqll=mysql_query("insert into tb_fabu(fabuid,fabutime,missionaddress,missionprice,mfabudian)values('$id','$time','$url','$jiage','1')")or die("数据库访问失败,请联系管理员");

这个sql语句有问题? 怎么老是访问失败呢?
fabuid fabutime missionaddress missionprice mfabudian

这是sql数据库的项

------解决方案--------------------
前后代码,具体什么错误?
------解决方案--------------------
mysql_query之前有没有做mysql_connect?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn