PHP - Server code and html code
<p>I'm programming a website and I have seen two approaches when programming in PHP:</p>

<ul>
<li>To mix php and html in one .php file.</li>
</ul>

<p>or</p>

<ul>
<li>To have html code in .html file and php code in .php file.</li>
</ul>

<p>Which one is the best way to go?</p>

<p>I guess each one have their pros and cons.  So, which one should I choose?</p>

<p>Thanks.</p>
