A less elegant solution would be to do a string replace on insert
for the & equivalent, for instance, ยด works fine in displaying a single
quote, but doens't throw off database querys with real single quotes in them,
so as long as you don't mind have that in your db, you could use the
equivalen for
htmlspecialchars()
Andrey
- Original Message -
From: "Hawk" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 09, 2002 8:33 PM
Subject: [PHP] printing "<" and ">" ?
> I have a clan database, and some clans use <>
I have a clan database, and some clans use <> in their tags, my problem
right now it how the best way to print these as characters, and not code..
any easy suggestions?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
3 matches
Mail list logo