Updated register_opportunity.php

I believe this does what it should. If someone could check because mysql
is acting up and I can't access the database.