PHP tag closing-- when is needed? -


To avoid any kind of error, do not put a PHP closing tag at the end of the file but can anyone What is the situation when PHP tags need to be closed?

If you want, you need a closing tag Switch from PHP code block to plain text output.

Here's an example:

  & lt ;? Php // PHP code block? & Gt; & Lt ;! - Plain text output and not processed by PHP - & gt; & Lt; / Body & gt;  

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -