Re: addslashes problem
| From: | enthalpy | Date: | Tue, 19 Dec 2000 23:30:26 +0000 |
| Subject: | Re: addslashes problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-31086@lists.php.net to get a copy of this message | ||
ok i think i see what it is.. aparently when the form is submited php adds
the slashes already.. is this correct?
<-----CoreComm-Internet-Services--http://core.com/----->
(Jon Marshall CoreComm Services Chicago)
(jonathon.marshall@core.com Systems Engineer II)
(enthalpy@core.com Network Operations)
<-----Enthalpy.org------------http://enthalpy.org/----->
(enthalpy@enthalpy.org The World of Nothing)
<------------------------------------------------------>
On Tue, 19 Dec 2000, enthalpy wrote:
>
> im having problems with the addslashes function. i use a form to update a
> mysql database and use the addslashes because there can be various
> characters i need to escape in order for it to properly go in to the mysql
> database
>
> what i end up with is something like this
>
> werd wer\\\'d weerrr\\\'ed
>
> so it goes in to the database as
>
> werd wer\'d weerrr\'ed
>
> this is obviously not what im looking to do.
>
> any help?
>
>
> <-----CoreComm-Internet-Services--http://core.com/----->
> (Jon Marshall CoreComm Services Chicago)
> (jonathon.marshall@core.com Systems Engineer II)
> (enthalpy@core.com Network Operations)
> <-----Enthalpy.org------------http://enthalpy.org/----->
> (enthalpy@enthalpy.org The World of Nothing)
> <------------------------------------------------------>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>