Skip to content
Advertisement

How to submit table form to a selected table in database based on drop down selection

may I know is it possible for submit a table form to a selected table in mysqli database based on drop down selection ?

For an example, user can select which table A or B in a mysqli database using the drop down selection and click send. Below code is just an example (but my exact code)

Requesting for the resolution. Thank you.

JavaScript

I used ‘”.$name[$tableName].”‘ because it is a add,delete,editable table before send to the mysqli database,

JavaScript

Advertisement

Answer

Not entirely sure of what you are trying to achieve, but something like this could work:

JavaScript
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement