Re: print html code

From: Date: Wed, 02 Jul 2003 17:50:13 +0000
Subject: Re: print html code
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-153743@lists.php.net to get a copy of this message
Karina S wrote:
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? This has nothing to do with PHP, but try putting <code> and </code> tags around the HTML.
-- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.

« previous php.general (#153743) next »