Update index.php

Using loop for testing resultpage ;)