Posts: 40
Name: Bob Davis
Location: Los Angeles, CA
|
I know that you can put PHP code inside HTML so long as it is enclosed in the <?php ... ?>
Also, you can keep the code in an external PHP document.
However, I have been told that PHP code can be placed in a document before the <!DOCTYPE>. Is this true, or like JavaScript, should it simply be placed in the <head>. The code will be used for a form on the page.
|