RE: [PHP-DB] Re: addslashes replacement?
| From: | Ed Lazor | Date: | Wed, 30 Jun 2004 21:54:55 +0000 |
| Subject: | RE: [PHP-DB] Re: addslashes replacement? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-35063@lists.php.net to get a copy of this message | ||
Thanks everyone. I ended up using a combination of the htmlspecialchars and
the stripslashes commands. The htmlspecialchars function has an example
about halfway down that I ended up using.
Thanks =)
> -----Original Message-----
> Take a look at the php website on the function addslashes.
> You will find an example with the functions reslash and reslash.
> You might have some problems regarding magic_quotes.
> Ive been using the reslash and deslash for some time now without
> any problems.
>
> It might solve your problems.
>