Re: [PHP] Stripping slashes from db-insert?

2001-12-01 Thread Shane Wright
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 kn

[PHP] Stripping slashes from db-insert?

2001-12-01 Thread Daniel Alsén
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