I'm newby in PHP but I allready have a difficult question.
I have an array which is like this:
$test = array("00000","00001","00011","00111","00101","00110","00110", etc (so it is unordered...)
now:
I'd like to check the first position with the second. if the Levensthein is <=1 then that value should stay in place and if it is not it should either. move to the last position in the array... or move to another array (i don't know what is best)
after that, the next 2 values should be checked with eachother...
so how can you keep looping through an array?