RE: [PHP] Array_keys problem

2004-04-06 Thread Ford, Mike [LSS]
On 04 April 2004 01:13, Robin 'Sparky' Kopetzky wrote: > function key_exists($ps_key) > { > if ( in_array($ps_key, > array_keys($this->ma_arguments)) ) { > return true; > } else { > return false; > } > } Ummm -- functio

Re: [PHP] Array_keys problem

2004-04-04 Thread Burhan Khalid
Robin 'Sparky' Kopetzky wrote: Good afternoon. I'm building a class and am having a bunch of trouble with the PHP array_keys function. I keep getting these errors: Warning: First argument to array_keys() should be an array in D:\Htf.php on line 33 Warning: Wrong datatype for second argument in c