HTML to PHP Converter for integrating templates
There are two ways to do this. One way is to echo or print the html tags inside the PHP code and the second way is to close the PHP script execution area and return to HTML mode to display HTML tags.
Displaying HTML tags outside PHP script tagsWithout keeping both together we can keep both in different areas so PHP engine does not come across HTML tags. However this is not practicable and is not a good idea for developing complex applications. Here is a sample code for this.