|
Posted by Alvaro G Vicario on 06/27/05 12:27
*** joealey2003@yahoo.com wrote/escribió (27 Jun 2005 01:42:49 -0700):
> JOE, LAST NAME
> THOMAS JEFERSON MORS
> MIKE LEE
> and i wat it to be like:
> Joe, Last Name
> Thomas Jeferson Mors
> Mike Lee
Main : Function Reference : String Functions : strtolower
strtolower
Make a string lowercase
available since: PHP 3, PHP 4 , PHP 5
usage:
string strtolower ( string str )
Main : Function Reference : String Functions : ucwords
ucwords
Uppercase the first character of each word in a string
available since: PHP 3>= 3.0.3, PHP 4 , PHP 5
usage:
string ucwords ( string str )
Use a combination of both functions.
--
-- Álvaro G. Vicario - Burgos, Spain
-- http://bits.demogracia.com - Mi sitio sobre programación web
-- Don't e-mail me your questions, post them to the group
--
Navigation:
[Reply to this message]
|