On Friday 01 November 2002 19:22, Davíð Örn Jóhannsson wrote:
> I have two arrays and I have complete list of numbers in one of them,
> lets call it $complete[]
> and another that has some values of the complete one, lets call that one
> $part[], now if I want to
> return an array with all the values that are in $complete[] but not in
> $part[], how would I do that?

array_diff()

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

/*
<viro> "scanf is tough" -- programmer Barbie...

        - Al Viro on #kernelnewbies
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to