mattm1712 Posted May 15, 2014 Share Posted May 15, 2014 hi im having trouble removing ' from strings so say $name = "D'vion"; $newname = str_replace("'","",$name); but this just returns the same. thanks matt Quote Link to comment Share on other sites More sharing options...
Jacques1 Posted May 15, 2014 Share Posted May 15, 2014 No, it doesn't. Either you're looking at the wrong variable, or the single quotes you're trying to replace aren't actually single quotes. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.