$mystring = "Bill's components";
I want to get rid of the ' and replace it with a space (hopefully giving $mystring="Bill s components") so I wrote
$mystring = str_replace("'" , " " , $mystring);
but this doesn't work; the ' remains in the string.
What to do, please ?