Addslashes() is probably getting called twice on the data on the insert...

if you have magic_gpc on, any inputted data already has the necessary escapes 
- so you shouldnt need to call it again...

Hope that helped :)

--
Shane

On Saturday 01 Dec 2001 1:14 pm, Daniel Alsén wrote:
> Hi,
>
> i know this has been asked before - but:
>
> When i add entries to MySql (varchar and text) all " and ' gets a slash in
> front of them. How do i get rid of these slashes?
>
> Regards
> # Daniel Alsén    | www.mindbash.com #
> # [EMAIL PROTECTED]  | +46 704 86 14 92 #
> # ICQ: 63006462   | +46 8 694 82 22  #
> # PGP: http://www.mindbash.com/pgp/  #

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to