Update index.php

switching to mysqli