You need to do some research. You can start by research how to get data from a database and then how to update it. Try
these articles.[
^]. When you have a more specific question please post a new question with detailed information about your problem, any error messages you are getting, and even a snippet of the code you are having trouble with.