RE: [PHP] print html code

2003-07-03 Thread Dan Joseph
Hi, > I would bet that it would be easier to come up with a browser that > supports 100% of the HTML standard (which is IMHO the minimum the > browser HAS to support) than it would be to come up with a browser that > supports 100% of the nonstandard. :) > > As the old saying goes two wrongs d

Re: [PHP] print html code

2003-07-03 Thread Wendell Brown
On Wed, 2 Jul 2003 14:23:23 -0700, Jim Lucas wrote: >well, tell me. What browser follows the standards 100% ?? I would bet that it would be easier to come up with a browser that supports 100% of the HTML standard (which is IMHO the minimum the browser HAS to support) than it would be to come up

Re: [PHP] print html code

2003-07-02 Thread John Nichel
Jim Lucas wrote: well, tell me. What browser follows the standards 100% ?? Yeah...that's the attitude...if none of the existing browsers follow standards, then it must be okay for us to break them too. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/un

Re: [PHP] print html code

2003-07-02 Thread Leif K-Brooks
Jim Lucas wrote: well, tell me. What browser follows the standards 100% ?? Most likely none. That doesn't mean you should violate the standards for absolutley no reason, though! Future browsers will most likely drop . -- The above message is encrypted with double rot13 encoding. Any unau

Re: [PHP] print html code

2003-07-02 Thread Jeff Harris
On Jul 2, 2003, "Jim Lucas" claimed that: |well, tell me. What browser follows the standards 100% ?? The same one that is 100% bug free? -- Registered Linux user #304026. "lynx -source http://jharris.rallycentral.us/jharris.asc | gpg --import" Key fingerprint = 52FC 20BD 025A 8C13 5FC6 68C6 9

Re: [PHP] print html code

2003-07-02 Thread Jim Lucas
uot; <[EMAIL PROTECTED]> Sent: Wednesday, July 02, 2003 12:57 PM Subject: Re: [PHP] print html code > In browsers that refuse to follow standards, maybe. Breaking standards > is a bad thing. > Jim Lucas wrote: > > >So what, it would do what was requested. :) > > &g

Re: [PHP] print html code

2003-07-02 Thread Jeff Harris
On Jul 2, 2003, "Karina S" claimed that: |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

Re: [PHP] print html code

2003-07-02 Thread Leif K-Brooks
In browsers that refuse to follow standards, maybe. Breaking standards is a bad thing. Jim Lucas wrote: So what, it would do what was requested. :) -- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of th

Re: [PHP] print html code

2003-07-02 Thread Jim Lucas
uot; <[EMAIL PROTECTED]> Sent: Wednesday, July 02, 2003 12:30 PM Subject: Re: [PHP] print html code > Jim Lucas wrote: > > >You could always use at the top of the screen. > > > And violate every single HTML standard. AFAIK, was never a > real tag. > > -- >

Re: [PHP] print html code

2003-07-02 Thread Leif K-Brooks
Jim Lucas wrote: You could always use at the top of the screen. And violate every single HTML standard. AFAIK, was never a real tag. -- 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. -- P

Re: [PHP] print html code

2003-07-02 Thread Jim Lucas
You could always use at the top of the screen. Jim Lucas - Original Message - From: "Wendell Brown" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Karina S" <[EMAIL PROTECTED]> Sent: Wednesday, July 02, 2003 11:27 AM Subject: Re: [PHP] print html code

Re: [PHP] print html code

2003-07-02 Thread Wendell Brown
On Wed, 2 Jul 2003 19:40:37 +0200, Karina S wrote: >I want to make a php site which can generate a html code and display it on >the screen. (Display the code itself.) See if this will do what you want: > http://us2.php.net/manual/en/function.highlight-string.php or > http://us2.php.net/manual/

Re: [PHP] print html code

2003-07-02 Thread Leif K-Brooks
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 strin

[PHP] print html code

2003-07-02 Thread Karina S
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 ap