I am making a form to send some data to the bank, to expedite a process, my question is the following, I have 5 systems that I need to update, so I made a select
in html. Home
I need to send each option
of select
to a different bank table, for example, if I select "System 1" it goes to table "System 1" in the database, if it is "System 2" in the "System 2" table and so on, in each table the same fields would only change the name, list it on another web site screen. Home
What would be the simplest way for me to do this in PHP?
<divclass="form-group">
<form action="envia.php" method="post" enctype="multipart/form-data">
<div class="form-group">
<label class="col-sm-3 control-label"><b>Sistema</b></label>
<div class="col-md-10">
<select name="sistema" class="form-control" required/>
<option>Escolha o sistema que deseja importar</option>
<option value="sis1">Sistema 1</option>
<option value="sis2">Sistema 2</option>
<option value="sis3">Sistema 3</option>
<option value="sis4">Sistema 4</option>
<option value="sis5">Sistema 5</option>
<option value="sis6">Sistema 6</option>
<option value="sis7">Sistema 7</option>
</select>
</div>
</div>