|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2005-10-26 10:18 UTC] claudiu at daltila dot com
Description: ------------ I used in 2 part of the same php script function ucwords. I one part works ok...and in other part...doesn't Reproduce code: --------------- 1.ucwords($row["h1"]) 2. echo $tomb[$i]." - ".strtolower($tomb[$i])." - ".ucwords(strtolower($tomb[$i]))."<br>"; Expected result: ---------------- 1. Casino Affiliates Gambling News Gambling Rules Land Based Casinos Online Casinos Online Gambling 2. ONLINE GAMBLING - online gambling - Online Gambling Home - home - home Actual result: -------------- 1. ok 2. ONLINE GAMBLING - online gambling - online Gambling Home - home - home PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 05:00:02 2025 UTC |
I sent an email with my YM ID ... Please tell me where can I send any other contact info. all the code that I can send...and can be usefull is: if ($idcateg<1) $idcateg=1; $cat=new categ($idcateg); $tomb=$cat->getPathNameHtm(); $nr=count($tomb)-1; $utt=""; for ($i=0; $i<=$nr;$i++) { $utt=$tomb[$i]." -> ".$utt; echo $tomb[$i]." - ".strtolower($tomb[$i])." - ".ucwords(strtolower($tomb[$i]))."<br>"; } $utt=substr($utt, 0, strlen($utt)-4); $ft->assign("LOCATION", $utt); and the result U can see on http://www.theonlinegamblingdirectory.com/online_gambling.htm