Updated Register scripts MYSQL to MYSQLI connection version