Update register.php

switching to mysqli