why do you guys insist on confusing people?
?> *escape from current php if any*
html, css, javascript
<?php *go back into php
some php
?>
*end of file*
just do that (without the *...*s in there, those are just there so you know what the example means)