Remove Duplicate Values From An Array
Remove Duplicate Values From An Array
Out of context: Reply #1
- Started
- Last post
- 4 Responses
- unfittoprint0
use a loop to read the aray values, while adding uniques to another array.
an inner loop will check if the value inside the newly created array already exists.
and use unset ($array[]); to delete the looped values, for faster check.