How to prevent browser from executing PHP code that i have added as sample/example on my page -


i want paste php code samples on web page browser treat normal php code , execute rather treating text. how can achieved... hope answer simple has alluded me. spent 2 hours on this.

rather using <?php ... ?> use &lt;?php ... ?&gt;


Comments

Popular posts from this blog

All overlapping substrings matching a java regex -

c++ - Using OpenSSL in a multi-threaded application -

php - Deleting/Renaming a locked file -