Home >Backend Development >PHP Tutorial >mysql插入语句的有关问题

mysql插入语句的有关问题

WBOY
WBOYOriginal
2016-06-13 10:50:361287browse

mysql插入语句的问题
能在数据库中插入一条记录,可是不是写的内容 下面是代码:
$sql="insert into message(id,user,title,content,lastdate)
values('','$_POST(user)','$_POST(title)','$_POST(content)',now())";



------解决方案--------------------
$_POST[user]
.....

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