Skip to content
Advertisement

Tag: codemirror

Output PHP Code in HTML, literally

My question is very simple. All I want to do is write actual PHP code in HTML, without executing it. For example, I want to write I DO NOT want to execute this PHP. I want to literally write the PHP code on the html document, by somehow escaping the <?php tags (I don’t want to remove them). Unfortunately, when

Advertisement