You are here: Re: [PHP] sentence case « PHP « IT news, forums, messages
Re: [PHP] sentence case

Posted by Aaron Gould on 02/23/05 19:57

Diana Castillo wrote:
> with php,
> HOW CAN I CONVERT SENTENCES LIKE THIS . TO BE UPPER AND LOWER CASE
> to become like this :
> How can I convert sentences like this. To be upper and lower case.

Sounds like you need a combination of ucfirst() and strtolower().

$newstring = ucfirst(strtolower($oldstring));

--
Aaron Gould
Programmer/Systems Administrator
PARTS CANADA

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация