print html code

From: Date: Wed, 02 Jul 2003 17:40:37 +0000
Subject: print html code
Groups: php.general 
Request: Send a blank email to php-general+get-153741@lists.php.net to get a copy of this message
Hello, I want to make a php site which can generate a html code and display it on the screen. (Display the code itself.) I use htmlspecialchars() function. It works fine, but now I have to add about 200 lines of static html code to print it out. If I put all of the code in a string than it will appear in a single line. (Maybe it works, but not nice) How can I easy print out more lines of html code with php? Thanks!

« previous php.general (#153741) next »