PHP file organization
<p>I am just getting started with PHP (I do have experience with html css and javascript). I want to create a form on my websites contact page. The user can fill out the form, the fields will be check for things like null etc.</p>

<p>My problem is I have this in a file called contact.html, and I have the script in a email.php file. I am not sure how to run the email.php without the white screen that the page opens. Ideally The user would click the "submit" button, the form would be check for errors then I want to email it (php mail() function). </p>

<p>What would be the top ways to go about this. Everything in one contact.php file or Call php from javascript?</p>
