Fatal error: Unsupported operand types in

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
fguerrero
Forum Newbie
Posts: 4
Joined: Fri Jul 01, 2011 3:34 pm

Fatal error: Unsupported operand types in

Post 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? :?: :?: :?:
User avatar
flying_circus
Forum Regular
Posts: 732
Joined: Wed Mar 05, 2008 10:23 pm
Location: Sunriver, OR

Re: Fatal error: Unsupported operand types in

Post by flying_circus »

Have you looked at array_merge()?
Post Reply