Re: Stripping slashes from db-insert?

From: Date: Sat, 01 Dec 2001 13:19:17 +0000
Subject: Re: Stripping slashes from db-insert?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-76316@lists.php.net to get a copy of this message
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 # > # d@mindbash.com | +46 704 86 14 92 # > # ICQ: 63006462 | +46 8 694 82 22 # > # PGP: http://www.mindbash.com/pgp/ #

« previous php.general (#76316) next »