Update success.php

used $_SESSION to receive the passed variable from the form.