can't remove dash from a string of words php code example
Example: php remove dashes from string
//replace dashes (-) with spaces ( )
$string="text-with-dashes";
//php string replace
$test = str_replace("-", " ", $string);
//replace dashes (-) with spaces ( )
$string="text-with-dashes";
//php string replace
$test = str_replace("-", " ", $string);