I'm trying to strip some stuff from userinput with preg_replace but can't find the solution. (checked the manual and this forum without luck)
My function uses an array of things to replace and this works fine but
my code for single and double quotes '/\"/','/\'/' does not work.
Anyone got an idea how I can escape them correctly?
many thanx





Bookmarks