How to create a new database table whenever user changes options

How to create a new database table whenever user changes options