How do i get information entered into the database only once, and stop it from being entered if the user press the refresh button in the browser?
Redirect user to confirmation page after you have entered information into the database. This way if they press "refresh" they will be "redirected" again, and only.
P.S. This will not help if they go "back" and press "submit" again.