php请问

WBOY
Release: 2016-06-13 11:52:17
Original
987 people have browsed it

php请教
$userMsg=$_POST['UserMsg'];  //ajax获取前台传递的对象
$userMsg->userName;//获取对象的属性

不知道 是不是这样写?求解?
------解决方案--------------------
print_r($_POST);
看看都有什么?

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