So I need to build a control structure where the default behavior causes the provided web page to be delivered to the client’s browser.
I need to do it in this index.php file:
<?php if (isset($_POST['submit'])){ $firstname = $_POST['firstname']; $lastname = $_POST['lastname']; $url = $_POST['url']; $email = $_POST['email']; $inputs = array('firstname'=>$firstname, 'lastname'=>$lastname, 'url'=>$url, 'email'=>$email); include 'view.php'; exit; } else { include 'view.php'; exit; } ?>