<HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=utf-8"> <TITLE>Simple Form</TITLE> </HEAD> <BODY> <form action = "welcome.php" method="get"> Name: <input type="text" name="name" /> Age: <input type="text" name="age" /> <input type="submit" /> </form> </BODY> </HTML>
Welcome <?php echo $_GET["name"]; ?>.<br />
You are <?php echo $_GET["age"]; ?> years old!
Welcome beyes.
You are 90 years old!
Welcome <?php echo $_REQUEST["name"]; ?>.<br />
You are <?php echo $_REQUEST["age"]; ?> years old!
欢迎光临 曲径通幽论坛 (http://www.groad.net/bbs/) | Powered by Discuz! X3.2 |