Category: Computer Programming

How To Automatically Capitalize A String In PHP

How To Automatically Capitalize A String In PHP

Ever since the release of PHP 4, we have been graced with the UCWords function. This function allows us to capitalize specific letters in a string, which has proved especially useful for titles and database input. Even using the function couldn’t be easier, as PHP developers will no doubt agree.