[thelist] Duplicates in php array
CDitty
mail at redhotsweeps.com
Sat Dec 7 09:00:02 CST 2002
I don't believe that. I looked at the array category and I never saw that. :(
Thanks for the tip.
Chris
At 01:37 AM 12/7/2002, you wrote:
> >I have a php array that has several duplicate records in it. I need to
> >create a new array
> >that will only hold unique entries from the first array. Array's are not
> >my strong point.
> >Does anyone have any php code that does this?
>
>$new_array = array_unique($old_array);
>
>http://php.net/manual is my friend for life.
>
>---------------------------------------------------------------------
>michal migurski- contact info and pgp key:
> http://www.saturn5.com/mike/contact.html
>
> "Freedom! Horrible, horrible freedom!"
>
>
>
>
>--
>* * Please support the community that supports you. * *
>http://evolt.org/help_support_evolt/
>
>For unsubscribe and other options, including the Tip Harvester
>and archives of thelist go to: http://lists.evolt.org
>Workers of the Web, evolt !
More information about the thelist
mailing list