Re: htmlspecialchars() and MySQL
| From: | Alexander Skwar | Date: | Wed, 12 Sep 2001 12:44:52 +0000 |
| Subject: | Re: htmlspecialchars() and MySQL | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-67041@lists.php.net to get a copy of this message | ||
So sprach »Augusto Cesar Castoldi« am 2001-09-12 um 08:52:29 -0300 :
> i'm using htmlspecialchars()...
Switch to addslashes() to insert the data and stripslashes() when
fetching the data from the DB + htmlentities/htmlspecialchars to display
the values.
Alexander Skwar
--
How to quote: http://learn.to/quote (german) http://quote.6x.to (english)
Homepage: http://www.digitalprojects.com | http://www.iso-top.de
iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 2 days 7 hours 31 minutes