form_unite.php 385 Bytes
<!DOCTYPE html>
<html>
	<form method="post" action="main.php">
	<label for="c1_unit">Unité CH1 :</label>
		<select id="c1_unit" name="c1_unit" onchange="this.form.submit();">
			<option value="V" <?php if(strpos($c1u,"V")!=false) echo "selected" ?> >Volt</option>
			<option value="A" <?php if(strpos($c1u,"A")!=false) echo "selected" ?> >Ampere</option>
		</select>
	</form>
</html>