Have one update form per database table. You can have as many as you like on an HTML page.
Include a hidden form field in each form that describes the table to be updated. This will get passed back to the page on submitting.
Use a switch() statement or if ... else if ...else to decide which table to update.