Re: [PHP] strlower problem

2008-06-02 Thread Jim Lucas
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

Re: [PHP] strlower problem

2008-06-02 Thread Richard Heyes
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?

Re: [PHP] strlower problem

2008-06-02 Thread Ed Curtis
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

Re: [PHP] strlower problem

2008-06-02 Thread Michael Kubler
Does : /echo strtolower(CL22);/ work? You could also try : /var_dump($strLow); / Ed Curtis wrote: 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

Re: [PHP] strlower problem

2008-06-02 Thread Ed Curtis
Michael Kubler wrote: Does : /echo strtolower(CL22);/ work? You could also try : /var_dump($strLow); / Ed Curtis wrote: 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

Re: [PHP] strlower problem

2008-06-02 Thread Ted Wood
On 2-Jun-08, at 10:25 AM, Ed Curtis wrote: I found the problem myself. The actual code follows the same principal but the value of $thisStr is a $_GET value from a link. The name of that value in the link was 'style'. Oops, you should never use a HTML reserved attribute as a varible