I always need this snippet. I like to copy paste it so I know it’s not wrong. You got to have it for any form you develop.
if (isset($_POST['whatever_submitted'])) { // 333PM THIS CATCHES FORM SUBMISSIONS } // 333PM