Home  >  Article  >  Backend Development  >  PHP POST没法接受数据 求大神解答

PHP POST没法接受数据 求大神解答

WBOY
WBOYOriginal
2016-06-13 12:09:58924browse

PHP POST无法接受数据 求大神解答

这个是post发送的数据

appID:app38803093-7803

childConfig[0][attachID]:app38803112-5125

print_r($_POST["childConfig[0].attachID"]);
echo "
";
print_r($_POST["appID"]);
      ?>

print_r($_POST["appID"]);  其中这个正常显示app38803093-7803

print_r($_POST["childConfig[0].attachID"]);    这个怎么都接受不到数据

print_r($_POST["childConfig[0][attachID]"]);   这样也不行









------解决思路----------------------
echo $_POST["childConfig"][0]["attachID"];

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