form_choix.php 489 Bytes
<!DOCTYPE html>
<html>
	<form method="post" action="main.php">
		<label for="crms">Curseurs de mesure :</label>
		<select id="crms" name="crms" onchange="this.form.submit();">
			<option value="off" <?php if(strpos($crms,"OFF")!=false) echo "selected" ?> >OFF</option>
			<option value="hrel" <?php if(strpos($crms,"HREL")!=false) echo "selected" ?> >HREL</option>
			<option value="vrel" <?php if(strpos($crms,"VREL")!=false) echo "selected" ?> >VREL</option>
		</select>
	</form>
<html>