Re: strlower problem

From: Date: Mon, 02 Jun 2008 15:53:35 +0000
Subject: Re: strlower problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-274925@lists.php.net to get a copy of this message
Ed Curtis wrote:
I'm converting upper case characters in a string to lower case and am coming up with an empty string. As I've done a million times before with other non-numerical strings. $thisStr = "CL22"; $strLow = strtolower($thisStr); echo $thisStr; Why does $strLow come up empty?
Because you're echoing out the original (uppercase) string. Try: echo $strLow; -- Richard Heyes In Cambridge? Employ me http://www.phpguru.org/cv +----------------------------------------+ | Access SSH with a Windows mapped drive | | http://www.phpguru.org/sftpdrive | +----------------------------------------+

« previous php.general (#274925) next »