Page 1 of 1

Help with <> in php.

Posted: Mon Aug 16, 2004 11:14 pm
by matt546
I am new to php. I wanted to add the following to the bottem of a page: The <TAC> File server. Im hosting files for my clan members to download. But when i make it, it doesnt place the <TAC> because its reading it as html. How do i escape this?
This is what I have:

Code: Select all

$bottemline = "The <TAC> File Server © 2004";
How would i change it to say that without it thinking <TAC> as html.
Thanks ahead of time.

Posted: Mon Aug 16, 2004 11:25 pm
by feyd
[php_man]htmlentities[/php_man]