Forum Moderators: coopster

Message Too Old, No Replies

php posting question

php posting question

         

ryanc

8:53 pm on May 25, 2005 (gmt 0)

10+ Year Member


I have a form and a forum and when people post comments that contain ' it post /'

Any ideas on how I can stop it from posting the /?

Thanks,
ryanc

jatar_k

8:57 pm on May 25, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



you need to use strip_slashes [php.net] before it spits out the post

ryanc

9:04 pm on May 25, 2005 (gmt 0)

10+ Year Member


thank you very much. That worked perfectly.