echo $_REQUEST['first_name'] ;

来源:互联网 发布:cf2016年刷枪软件 编辑:程序博客网 时间:2024/05/20 03:40

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <title> first_name.html </title>
  <meta name="Generator" content="EditPlus">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
 </head>

 <body>
  <form method="post" action="first_name.php">
 <input type="text" name="first_name">
 <br>
     <input type="submit">
  <br>
  </form>
  <hr>
  <form method="get" action="first_name.php">
 <input type="text" name="first_name">
 <br>
     <input type="submit">
  <br>
  </form>
 </body>
</html>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <title> first_name.php </title>
  <meta charset="UTF-8">
  <meta name="Generator" content="EditPlus">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
 </head>

 <body>


 <?php
//echo $first_name ;
echo $_REQUEST['first_name'] ;
?>
 
 </body>
</html>

0 0
原创粉丝点击