while ($firstDisp < $lastDis) {...}