On Mon, October 9, 2006 7:45 am, benifactor wrote:
> the way i posted worked fine with out either... he doesn't need to use
> these
> to format the way his output is displayed, he only needs to use the
> proper
> php syntax if i am correct.

You were wrong, and you're still wrong. :-)

Try it and see.

http://php.net/htmlentities is the correct solution.

htmlspecialchars only catches a tiny subset of what *might* be in the
string...   So it will work if you can guarantee that only those
limited set of chars will ever be in there.

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to