Create index.php

I changed everything from mysqli to PDO because our professor wanted us to use PDO instead of mysqli because of security reasons.