RE: [PHP] Array problem
| From: | Mark Roedel | Date: | Fri, 06 Apr 2001 13:25:06 +0000 |
| Subject: | RE: [PHP] Array problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-47435@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: alexisantonakis@compuserve.com
> [mailto:alexisantonakis@compuserve.com]
> Sent: Friday, April 06, 2001 3:20 AM
> To: php-general@lists.php.net
> Subject: [PHP] Array problem
>
>
> I am having big problems with merging two arrays. I just
> can't seem to get my head around it.
>
> I have two arrays which I wish to merge, but I want to
> EXCLUDE duplicate values.
>
> Any suggestions, as my numerous attempts have proved
> unsuccessful.
I expect my approach would probably be to merge the two arrays together,
then call array_unique() on the result.
---
Mark Roedel (roedelm@letu.edu) || "There cannot be a crisis next week.
Systems Programmer / WebMaster || My schedule is already full."
LeTourneau University || -- Henry Kissinger