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