Programmer in PHP

0

Who could tell me how to fill 2 imput when loading a 3rd?

the 3 fields would be from a database.

the database is like this.

codplan nameplate Amount amountC

<label>Plan</label>
<select id="codplan" name="codplan" class="form-control selectpicker" data-live-search="true" required></select>

label>Precio en Dolar</label>
<select id="montoD" name="montoD" class="form-control selectpicker" data-live-search="true" required></select>
<label>Precio en Cordobas</label>
<select id="montoC" name="montoC" class="form-control selectpicker" data-live-search="true" required></select>

When I load the plan select, I automatically load the prices of that plan since they are in the DB, and they load me in their respective select.

I do not know whether to use input to load automatically or use select to be selected.

    
asked by Ing Wilber Tellez 13.02.2018 в 05:56
source

0 answers