<form action="<?php echo $_SERVER['PHP_SELF'];?>" method="post"> if(isset($_POST['submit'])) { $item=$_POST["item"]; echo $item; }
action为空也可以
<form action="<?php echo $_SERVER['PHP_SELF'];?>" method="post"> if(isset($_POST['submit'])) { $item=$_POST["item"]; echo $item; }
action为空也可以