Welcome to WebmasterWorld Guest from 54.144.243.34

Forum Moderators: coopster & jatar k

How to count how many characters

   
8:01 pm on Jun 14, 2013 (gmt 0)

5+ Year Member



i have a field, the field name is name, like
John
Robert
etc

the variable to call name is $name



now i need to display how many characters each name have, for example
John : 4 characters
Robert : 6 character

how to get characters numbers by using the name variable $name, what is the query looks like?


thank you & GBU for all that helping
9:16 pm on Jun 14, 2013 (gmt 0)



(http://php.net/manual/en/function.strlen.php)
 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month