Changed index from html to php