Answers for "if button is clicked php"

PHP
0

if button is clicked php

if ($_SERVER['REQUEST_METHOD'] === 'POST') {
    // Something posted

    if (isset($_POST['btnDelete'])) {
        // btnDelete
    } else {
        // Assume btnSubmit
    }
}
Posted by: Guest on March-05-2021

Code answers related to "if button is clicked php"

Browse Popular Code Answers by Language