mysql插入语句的有关问题

WBOY
Release: 2016-06-13 13:09:38
Original
724 people have browsed it

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



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

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