Re: printing < and > ?
| From: | Adam Voigt | Date: | Tue, 09 Apr 2002 17:41:15 +0000 |
| Subject: | Re: printing < and > ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-92265@lists.php.net to get a copy of this message | ||
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 the greater then and less then signs.
Adam Voigt
adam.voigt@cryptocomm.com
On Tue, 9 Apr 2002 19:33:52 +0200, Hawk <hw2k@barrysworld.com> wrote:
> 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
>