Page 1 of 1

Fatal error: Unsupported operand types in

Posted: Tue Jul 05, 2011 4:47 pm
by fguerrero
Hello

I am getting a error message telling me "Fatal error: Unsupported operand types in: "

This is the line that the error points to

// now set all rows not found in array2 from array1
$array2 += $array1;

Is this operation valid? Is there any other way to assign those values to array2? :?: :?: :?:

Re: Fatal error: Unsupported operand types in

Posted: Tue Jul 05, 2011 6:21 pm
by flying_circus
Have you looked at array_merge()?