Re: [PHP] strlower problem
- Date: Mon, 02 Jun 2008 12:31:27 -0400
- From: Ed Curtis <e_curtis@xxxxxxxxxxxxx>
- Subject: Re: [PHP] strlower problem
Richard Heyes wrote:
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;
My mistake. I meant to type echo $strLow; not echo $thisStr; in my post.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php