I need some help i have this code that Uppercase the first character of each word in a string with exceptions i need the function to ignore the exception if it\'s at the beg
what about you make the first letter in the string upper case so no matter your mix you will still come through
$string = "my cat is going to the vet";
$string = ucfirst($string);
$ignore = array("is", "to", "the");
echo ucwordss($string, $ignore);
this way you first letter of the string will always be upper case