PDA

View Full Version : Removing the / from apostrophes


skriptkiddie
05-30-2003, 09:20 AM
Hi. Does anyone know how to remove the / sign from text when an apostrophe is used? I always get something like this:

it/s
instead of
it's

Thanks in advance :eek2:

freejoe76
06-03-2003, 07:20 PM
try using the stripslashes() command on the string you want to clean up,

php.net link (http://www.php.net/stripslashes)

skriptkiddie
06-03-2003, 09:05 PM
You rawk! Thanks, that fixed it :)