[PHP] Re: Capitalizing the first letter

2007-03-13 Thread Haydar Tuna
Hello Again, You can use ucwords() functions except my method. This function returns a string with the first character of each word in str capitalized, if that character is alphabetic. :) -- Haydar TUNA Republic Of Turkey - Ministry of National Education Education Technology Department An

[PHP] Re: Capitalizing the first letter

2007-03-13 Thread Haydar Tuna
Hello Again, You can use ucwords() functions except my method. This function returns a string with the first character of each word in str capitalized, if that character is alphabetic. :) -- Haydar TUNA Republic Of Turkey - Ministry of National Education Education Technology Department

[PHP] Re: Capitalizing the first letter

2007-03-13 Thread Haydar Tuna
Hello Again, You can use ucwords() functions except my method. This function returns a string with the first character of each word in str capitalized, if that character is alphabetic. :) -- Haydar TUNA Republic Of Turkey - Ministry of National Education Education Technology Department

[PHP] Re: Capitalizing the first letter

2007-03-13 Thread Haydar Tuna
Hello, In PHP ucfirst() function make a string's first character uppercase. But ralph smith have two words respectivetely ralph and smith. For this reason, if you call the ucfirst("ralph smith") function, you cannot see the Ralph Smith. You see the Ralph smith. If you want to see Ralph Smith