Recent Post

Dear reader, this blog has been moved to here

Wednesday, 12 June 2013

[PHP TUT] CAPITALIZING LETTERS USING PHP



Hi all,

Setting capital letters automatically without stressing yourself writing it is one of the sweets things I love with PHP
We have four functions here which I listed below:

strtoupper() - Make a string all uppercase, as in “HOW ARE YOU”
strtolower() – The reverse of strtoupper, removes all capitals.
ucwords() – Capitalizes the first letter of each word.
ucfirst() – Capitalized the first letter of the string. Perfect for displaying user names, as they are generally all lowercase.

Email Newsletter



Smiley :)
:D
:)
:[
;)
:D
:O
(6)
(A)
:'(
:|
:o)
8)
(K)
(M)

No comments:

Post a Comment