Hi all,
I have just swapped machines from win98 to xp, ported my code over, I set up php-mysql and its running fine 🙂, here is the problem.
if (is_object($debug)) {
//get class methods and a count for the child object
$childMethods = get_class_methods($debug);
//sort the variables alphabetically - method array is a numeric array
sort($childMethods);
reset($childMethods);
}
//ok it spits this error message out
//Warning: Wrong datatype in sort()
//so if I change this line
$childMethods = get_class_methods($debug);
//to this line
$childMethods = get_class_methods(get_class($debug));
//it works? why is this?
The bomb shell is it worked before so why the change? it appears its not creating the array? can anyone help me?
thanks BBK