<html>
<head><title> good </title></head>
<body>
<?php if(!empty($_POST['name']))
{
echo "Greetings,{$_post['name']},and welcome.";
}
?>
<form action="<?php $php_SELF;?>"method="POST">Enter your name:<input type="text" name="name"/>
<input:type="submit"/>
</form>
</body>
</html>
这个代码我是照着 书打的。 小的表单 填写名字,回车后是 显示名字 welcome 。。 可是不行显示不住来啊 Notice: Undefined variable: _post in E:\runphp\htdocs\php4book\webwindows.php on line 6
Greetings,,and welcome. 它不能把名字带入 、谢谢 各位大侠
<head><title> good </title></head>
<body>
<?php if(!empty($_POST['name']))
{
echo "Greetings,{$_post['name']},and welcome.";
}
?>
<form action="<?php $php_SELF;?>"method="POST">Enter your name:<input type="text" name="name"/>
<input:type="submit"/>
</form>
</body>
</html>
这个代码我是照着 书打的。 小的表单 填写名字,回车后是 显示名字 welcome 。。 可是不行显示不住来啊 Notice: Undefined variable: _post in E:\runphp\htdocs\php4book\webwindows.php on line 6
Greetings,,and welcome. 它不能把名字带入 、谢谢 各位大侠
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货