Now that is cool. I wish I had noticed that one before. Would have saved a
lot of odd keystrokes.
--
phill
""Joe Brown"" <[EMAIL PROTECTED]> wrote in message
996a64$k3a$[EMAIL PROTECTED]">news:996a64$k3a$[EMAIL PROTECTED]...
> try:
> echo htmlentities("Home");
> ?>
> ""Osman Omar"" <[EMAIL PRO
there is something to much easy...
just put before php tags, the tag and after the php , this only
works on IE.
scotty
-Mensaje original-
De: Phillip Bow [mailto:[EMAIL PROTECTED]]
Enviado el: Lunes, 19 de Marzo de 2001 09:20 p.m.
Para: [EMAIL PROTECTED]
Asunto: Re: [PHP-DB] How to
try:
Home");
?>
""Osman Omar"" <[EMAIL PROTECTED]> wrote in message
00f901c0b0cf$c99e7da0$da604a2b@sony">news:00f901c0b0cf$c99e7da0$da604a2b@sony...
> Hi,
>
> Suppose I want to display HTML code eg "Home"
>
> How can I do that in php?
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To
Well you don't need PHP to do it, but you can replace the greater than and
less than signs with their html entities(< and >) which the browser
will parse, and it will display the appropriate chars. So...
will print the html without parsing it.
Now if only the newsreader doesn't parse this as htm