hi
how can I remove duplicted values (Data) in my array ?
__
Do You Yahoo!?
Get email alerts NEW webcam video instant messaging with Yahoo! Messenger.
http://im.yahoo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
So sprach »Alawi Albaity« am 2001-09-23 um 07:00:22 -0700 :
how can I remove duplicted values (Data) in my array ?
array_unique
Alexander Skwar
--
How to quote: http://learn.to/quote (german) http://quote.6x.to (english)
Homepage: http://www.digitalprojects.com |
At 07:00 23/9/2001 -0700, you wrote:
hi
how can I remove duplicted values (Data) in my array ?
there are several solutions to this problem, you can:
1 - use the function array_count_values() to find all the values that occur
more then once and then loop trough the result array and removing
At 07:00 23/9/2001 -0700, Alawi Albaity wrote:
hi
how can I remove duplicted values (Data) in my array ?
my bad... I didn't check the manual... there's a function that does exactly
that:
http://www.php.net/manual/en/function.array-unique.php
sorry... :)
_
.
4 matches
Mail list logo