I have been really trying to do some pretty basic work in PHP as I am beginner to PHP but I wasn't really able to achieve my goal. What I want to do is that I have strings like..! Mixed Types :
THIS IS A SENTENCE
tHis Is a SEnTenCe
I really tried with ucwords
function in php but that didn't gave the exact result as ucwords focus just on first alphabets of every word and do not focus on other remaining characters in word..What I want really is to get some sort of this fixed type of strings from each and every mixed type of strings..!
Like :
This Is A Sentence
Or May be I didn't check it properly..So if anyone can guide me in the right path.That would be great.!