Reply to ucfirst() not working

Your name:

Reply:


Posted by Skeets on 02/18/06 02:06

i have a simple xml file and i use php5.1.2's dom xml to pull out an
element's value.

i then use use:

// $type value all in lower case.

$type = ucfirst($type);

which doesn't work. prints out all in lower case.

$type = strtoupper($type);

works as expected - the output is all upper case.

is this a bug or expected behavior?

tia...

[Back to original 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

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