Artenis Posted January 22, 2009 Report Posted January 22, 2009 viss it kā skaisti strādā, tikai l';idz ko pieņemsim vārds: mārtiņš, tā uz leilajiem burtiem pārveido: MāRTIņš :( Ir kāds papildus variants?
Jackal Posted January 22, 2009 Report Posted January 22, 2009 Mēģini šitā, bet nezinu vai strādā function mb_ucwords($str) { $str = mb_convert_case($str, MB_CASE_TITLE, "UTF-8"); return ($str); }
NiTrino Posted January 22, 2009 Report Posted January 22, 2009 (edited) šāds EDIT: ups sorry bik ne tas Edited January 22, 2009 by NiTrino
Artenis Posted January 22, 2009 Author Report Posted January 22, 2009 Atvainojos, par kļūdu, bet funkcija bija: strtoupper
Jackal Posted January 22, 2009 Report Posted January 22, 2009 (edited) tad jalieto mb_strtoupper http://lv.php.net/manual/en/function.mb-strtoupper.php Edited January 22, 2009 by Jackal
Recommended Posts