Home >Backend Development >PHP Tutorial >php post 得到数据,该如何处理

php post 得到数据,该如何处理

WBOY
WBOYOriginal
2016-06-13 10:02:131067browse

php post 得到数据

   

  if(isset($_POST["ttt"]))
  {
  echo $_REQUEST["ttt"];
  $name=$_POST["eee"];
  $images=$_POST["lll"];
  echo $name." ".$images;
  }
?> 

当我点击submit时 怎么得到文本框的值呢

------解决方案--------------------
你的表单中没有名为 ttt 的对象,自然得不到提交的数据

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