Update index.php

Added a small check to see if the GET variable 'Result' is set or not. It prevents the occurrence of Undefined Index notices.