Looking for a little bit of help. I'm using a breadcrumb script and want to do some work on a string.
In this case, I need to remove a '-' from the string as well as capitalize each word. This is what I have:
$title = str_replace('-', ' ', $crumb);
$title = ucwords($crumb);
But at the moment it does one or the other - I want to combine them (sorry, new to php!)
Many thanks for any help
Paul