You are here: Re: PHP calling TCL proc causes thousands of server errors - HELP « PHP Programming Language « IT news, forums, messages
Re: PHP calling TCL proc causes thousands of server errors - HELP

Posted by comp.lang.php on 03/13/06 23:00

NC wrote:
> comp.lang.php wrote:
> >
> > This is a PHP function that utilizes a prior-written TCL proc I wrote
> > that converts a name to proper case..
>
> And you are not using ucwords() because...
>
> > What in the world am I doing wrong?
>
> Not using ucwords(), of course... :) Check it out:
>
> http://www.php.net/ucwords


print_r(ucwords('rue de la paix')); // = "Rue De La Paix" which is
wrong, should be "Rue de la Paix"

My TCL proc does this:

puts [PROPER_CASE {rue de la paix}]; # PRINTS "Rue de la Paix"

That's why I want to use my TCL proc and not even ucwords()

Phil
>
> Cheers,
> NC

 

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

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