Set up a postback url. Pass the name of the user and the offer name as extra parameters and have the CPA network hit up your postback url with the username and offer name and update your database that way. PM me for more info on this.
you can either use Ajax and PHP so that page will not refresh then you will prompt the viewer that his/her entry is already validated