Example in my database SMK SUNGAI PUNAI
$school = 'SMK SUNGAI PUNAI';
echo ucwords(strtolower($school));
Ouput Smk Sungai Punai
Question
How to make the output will be SMK Sungai Punai which the SMK still in uppercase.
Update.
The problem I have 10K list of school name. From PDF I converted to mysql. I copied exactly from PDF the name of schools. All in uppercase. I need a solution if can be done.