Re: print html code

From: Date: Wed, 02 Jul 2003 18:04:13 +0000
Subject: Re: print html code
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-153745@lists.php.net to get a copy of this message
try echo ie... echo "<p>this is a paragraph</p>r\n\"; the r\n\ is a return character and newline character. "Karina S" <bali1a@freemail.hu> wrote in message news:20030702174039.32774.qmail@pb1.pair.com... > 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 (#153745) next »