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

SQL语句的有关问题

WBOY
Release: 2016-06-13 13:53:43
Original
1058 people have browsed it

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?

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template