array search?

kaits

Mitglied
Hi!

How to search through this array and print out only these values:
1
3
no double values
how?


[stuff] => Array
(
[0] => 1
[1] => 3
[2] => 1
[3] => 3
)




feel free to answer in German!

thanks!
 
Hello,

Sorry with my english !

I think you take this :

PHP:
array_unique()

This syntax delete double values.

Good Luck !

euer SaTaN
 
Zurück