Want to got the new array that not in array A?

Qztogdscd

New Member
I have two arrays:\[code\]$A = array('a','b','c','d')$c = array('b','c','e','f')\[/code\]I want to get a new array containing items not in array \[code\]$A\[/code\]. So it would be:\[code\]$result = array('e','f');\[/code\]because \[code\]'e'\[/code\] and \[code\]'f'\[/code\] are not in \[code\]$A\[/code\].
 
Back
Top