Changed index to php instead of html