test.php
Copy code The code is as follows:
$test = $_POST[ 'test '];
echo '12 ';
echo $test;
echo $_POST[ ' submit1 '];
echo $_POST[ 'submit2 '];
if (isset($_POST[ 'submit1 ']) && $_POST[ 'submit1 '] == 'submit1 ')
{
echo 'ok1 ';
}
if (isset($_POST[ 'submit2 ']) && $_POST[ 'submit2 '] == 'submit2 ')
{
// echo "
< ;input name= 'submit2 ' type= 'submit ' value= 'submit2 ' title= 'submit2 '>