Arrays in php, Compare 2 arrays and keep duplicate values
Posted
by ion
on Stack Overflow
See other posts from Stack Overflow
or by ion
Published on 2010-03-21T20:56:57Z
Indexed on
2010/03/21
21:01 UTC
Read the original article
Hit count: 836
The following is 2 different definitions of the problem:
How can I process 2 arrays so that I can keep the data of duplicate array[key] values.
I have arrays A and B. I want to create array C with the children that their id/key values exist in both A and B arrays.
Thank you
© Stack Overflow or respective owner