Reply to Re: [PHP] array diff with both values returned

Your name:

Reply:


Posted by Richard Lynch on 05/09/05 05:48

On Fri, May 6, 2005 7:03 am, blackwater dev said:
> Hello,
>
> Is there a good way to get the difference in two arrays and have both
> values returned? I know I can use array_dif to see what is in one and
> not the other but...I need it to work a bit differently.

I believe you want array_union followed by array_unique (or whatever those
are called)



--
Like Music?
http://l-i-e.com/artists.htm

[Back to original 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

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