12/27/2023 0 Comments Isset php form submit![]() ![]() ![]() Use the filter_has_var() function to check if a variable exists in a specified type, including INPUT_POST, INPUT_GET, INPUT_COOKIE, INPUT_SERVER, or INPUT_ENV. ![]() Second, add the following code to the index.php file: PHP filter_has_var Demo " method= "post" class= "shaddow"> Name: Code language: HTML, XML ( xml )įinally, in the post.php file, use the filter_has_var() function to check if the form data contains the $name variable:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |