How can process a form on the same page vs using a separate process page. Right now for signups, comment submissions, etc I use a second page that verifies data and then su
The easiest construction is to detect whether the $_POST array is not empty
$_POST
if(isset($_POST['myVarInTheForm'])) { // Process the form } // do the regular job