You are here: returning elements from array 1 not in array 2 « PHP « IT news, forums, messages
returning elements from array 1 not in array 2

Posted by blackwater dev on 11/01/05 23:36

I have two different arrays. What is the function to remove all of
the elements from array 1 that are not in array 2 and return them.
Array_diff seems to give me that plus ones with different values, I
simply want all of the ones from one array that are not in another
array and want them removed from the one array.

Thanks.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация