HTML in PHP question?

Sarah

New member
hello everyone,

is the following valid?

<?php
Echo "<html>";
Echo "<title>HTML with PHP</title>";
Echo "<b>My Example</b>";

//your php code here

Print "<i>Print works too!</i>";
<?php more php here ?>

<?php and here ?>

?>

What i want to know is if I can insert <?php ?> inside php.

Thanks
so how do I add code that is wrapped with php tags to a php file?
 
Back
Top