Re: Array solution...
| From: | Jason Wong | Date: | Fri, 01 Nov 2002 11:40:09 +0000 |
| Subject: | Re: Array solution... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-122407@lists.php.net to get a copy of this message | ||
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
*/