Home > Backend Development > PHP Tutorial > 这两句sql语句有什么区别?为什么一句会报错一句成功执行?

这两句sql语句有什么区别?为什么一句会报错一句成功执行?

WBOY
Release: 2016-06-23 13:46:23
Original
1055 people have browsed it

RT,


回复讨论(解决方案)

第一句正常执行 第二句报错

Fatal error Function name must be a string in xxxxx on line 4

第二句显然是错的
$_POST('typename')
数组元素应是[]而不是()

楼上正解,给楼上分吧。

$_POST() ?有??方法,?然?了
$_POST[] ??才?。

哎瞎狗眼了,顾着看sql方面的没看到post写错了

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