embed HTML to Database

Hi,

I have embed a HTML quiz to a member only page on my website; after a logged in member clicks the DONE button, I want the member’s grade which is calculated within the embedded HTML code to be sent to a created database in WIX --the grade will be matched with the member’s name in the database.

Pls how do I implement this?