how to work with php as a separate file from HTML code?

BISATORU

New member
I can separate my whole javascript code in a separate file from the html and used it as a reference

<script type=text/javascript src=myjavascrpitcode.js></script>
that line allow me to access to any function on a .js file.

Can I do something similar with PHP and HTML?
Can I have my php code in a separece file from html?
how is it possible?

Thanks.
 
Back
Top