Fixed (finally) bug empty emails

Created a new submit.php file with the php script. This will run when
the submit button is clicked.