源代码如下,需要的码农哪去参考:
<?php
if( $_POST[\"name\"] || $_POST[\"age\"] )
{
echo \"Welcome \". $_POST[\'name\']. \"<br />\";
echo \"You are \". $_POST[\'age\']. \" years old.\";
exit();
}
?>
<html>
<body>
<form action=\"<?php $_PHP_SELF ?>\" method=\"POST\">
Name: <input type=\"text\" name=\"name\" />
Age: <input type=\"text\" name=\"age\" />
<input type=\"submit\" />
</form>
</body>
</html> 继续阅读与本文标签相同的文章
-
超进化,时尚玩主的全新一代名爵ZS,起步只要7.98万
2026-05-14栏目: 教程
-
微信 7.0.8 内测新功能,教你如何激活它
2026-05-14栏目: 教程
-
美女机器人刚上市就售罄,除了生孩子,其他什么都能干!
2026-05-14栏目: 教程
-
互联网之光大会的黑科技,总有一款惊艳你!
2026-05-14栏目: 教程
-
微信宣布一项新举措,关系到每一个用户,网友一致力挺:干得漂亮!
2026-05-14栏目: 教程
