Re: upperCase

From: Date: Sun, 11 Mar 2001 11:24:50 +0000
Subject: Re: upperCase
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-7285@lists.php.net to get a copy of this message
In article <4.3.1.2.20010311180058.00b38968@familyhoo.net>, kokmun@familyhoo.net (Hoo Kok Mun) wrote: > This is what I did and it did not work. > $userfield = upper('$userfield'); > echo "User Field - $userfield"; > > Errors (tried both ucase and upper) > Call to undefined function: upper() > Call to undefined function: ucase() Yep, because you're using the wrong name(s) for the function known as "strtoupper" (confusing PHP functions with those of some other language, perhaps?). BTW, a quick search of the manual or skim through the list of string functions would have revealed the problem--and solution--immediately. -- CC

« previous php.db (#7285) next »