PHP Code: 
$replace = array("&");
   
$str str_replace($replace"and"$str); 
Ok, so I figured the above out and its working great for me....however I would also like to replace the emdash with -

but whatever I try it does not seem to work out

PHP Code: 
$replace = array("what here?");
   
$str str_replace($replace"-"$str); 
r0ck Reviewed by r0ck on . str_replace help $replace = array("&"); $str = str_replace($replace, "and", $str); Ok, so I figured the above out and its working great for me....however I would also like to replace the emdash with - but whatever I try it does not seem to work out $replace = array("what here?"); $str = str_replace($replace, "-", $str); Rating: 5