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