Removing forward slashes / from a string in PHP
hey there.. been playing with mod_rewrite to make my pages more search engine friendly but some of the categories my script serves up contain the '/' character, which stops the server being able to find the script.
I've tried
$string=str_replace("/","",$string);
but it doesn't seem to do anything. Anybody got any ideas?
thanks,
jonny
|