When the entered username and password are empty, judgment is required. At this time, verification of username and password is used. This needs to be written on the front-end page of jsp; there are two methods, one is to submit using submit. One is to submit using button.
This article mainly tells you how to handle multiple submit forms in PHP (distinguishing different form submissions)
test.php
"; // header( "Location:index.php "); // break; echo 'ok2 '; } ?>
The code is as follows:
The above is the detailed content of PHP multiple submit submission form example code. For more information, please follow other related articles on the PHP Chinese website!