Results 1 to 2 of 2
Oct 29, 2008, 07:50 #1
cleaning up input with preg_replace
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?
Oct 29, 2008, 07:57 #2
- Join Date
- Oct 2008
- 0 Post(s)
- 0 Thread(s)