Change index.php over to PDO.
Change submitRegister.php over to PDO.