0
You guys, good morning!
I am taking a PHP course and in order to make it easier for future queries, I would like to create a page as if it were a library so that I can consult excerpts of the code with comments and how works that excerpt, and for that I want the code itself to be displayed on the screen without being interpreted, just as it works here in stack overflow.
Below is a picture of what exactly I want, an interpreter that displays the code, I already searched but found nothing.
Editor of the Stack overflow
Displaying on the page without being interpreted:
Read: What a mistake I made asking my question?
– Maniero
Just write using HTML. "<" is not a valid HTML character,
<
is the correct one. The same goes for every special character for HTML, it needs the correct spelling.– Bacco