Re: [PHP] array_change_key_case() warning...

2002-11-07 Thread R B
Now it's working well. I was making a mistake with the while's loop. I saw my mistake using the print_r function. Thanks, RB From: Maxim Maletsky <[EMAIL PROTECTED]> To: "R B" <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: [PHP]

Re: [PHP] array_change_key_case() warning...

2002-11-07 Thread Maxim Maletsky
the keys of my application. > The last solution is to put the @, but i want to know where is the problem. > > Thanks, > > RB. > > > >From: Maxim Maletsky <[EMAIL PROTECTED]> > >Reply-To: [EMAIL PROTECTED] > >To: "R B" <[EMAIL PROTECTE

Re: [PHP] array_change_key_case() warning...

2002-11-07 Thread R B
[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: "R B" <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: Re: [PHP] array_change_key_case() warning... Date: Thu, 07 Nov 2002 20:02:31 +0100 Are you sure you don't have something different from strings and integers in one of

Re: [PHP] array_change_key_case() warning...

2002-11-07 Thread Maxim Maletsky
Are you sure you don't have something different from strings and integers in one of your keys? Anyway, you can still quiet the error up by prepeding the function with an at-mark: $myArray = @array_change_key_case($result,CASE_UPPER); -- Maxim Maletsky [EMAIL PROTECTED] "R B" <[EMAIL PROTECT

[PHP] array_change_key_case() warning...

2002-11-07 Thread R B
Hello, I'm using array_change_key_case to return an array with all string keys uppercased. ex: $myArray = array_change_key_case($result,CASE_UPPER); If i have the display_errors = on and error_reporting = E_ALL in my php.ini then i get the warning: "Warning: Wrong datatype in array_change_