Quote:Use two different indexes and loop through same single array generated from CSV file?
for ($i = 0; $i < ($N-1); $i++) for ($k = ($i+1); $k < $N; $k++) { //... }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)