form_couplage.php
485 Bytes
<!DOCTYPE html>
<html>
<form method="post" action="main.php">
<label for="c2_cpl">Couplage CH2 :</label>
<select id="c2_cpl" name="c2_cpl" onchange="this.form.submit();">
<option value="D1M" <?php if(strpos($c2cpl,"D1M")!=false) echo "selected" ?> >DC</option>
<option value="A1M" <?php if(strpos($c2cpl,"A1M")!=false) echo "selected" ?> >AC</option>
<option value="GND" <?php if(strpos($c2cpl,"GND")!=false) echo "selected" ?> >GND</option>
</select>
</form>
</html>