读书人

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

发布时间: 2012-03-12 12:45:33 作者: rapoo

php post 得到数据
<input type="text" name="eee" id="eee"/>
<input type="text" name="lll" id="lll"/>
<input type="submit" value="qwqw" id="lll" name="itt"/>
<?php
if(isset($_POST["ttt"]))
{
echo $_REQUEST["ttt"];
$name=$_POST["eee"];
$images=$_POST["lll"];
echo $name." ".$images;
}
?>

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

[解决办法]
你的表单中没有名为 ttt 的对象,自然得不到提交的数据

读书人网 >PHP

热点推荐