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

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-13 12:09:15856browse

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

本帖最后由 qq_16097601 于 2014-11-01 11:37:23 编辑 RT,

------解决思路----------------------
第二句显然是错的
$_POST('typename')
数组元素应是[]而不是()
------解决思路----------------------
$_POST() 沒有這個方法,當然錯了
$_POST[] 這個才對。
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