J'ai une select comme ceci
Code : Tout sélectionner
<form method="post" enctype="multipart/form-data" name="upform" action="index.php?dest=infos&act=infos2">
<div class="row">
<span class="label">test: </span>
<span class="formw">
<?php
$result = mysql_query("SELECT * FROM infos ORDER BY id");
$nb_total=mysql_num_rows($result);
if ($nb_total == 0) {
} else {
?>
<select name="infos" onChange="window.location.replace('index.php?dest=infos&infos2='+this.value+'');">
<?
echo "<option value=\"\" >> Choisissez votre infos ... <</option>";
while($row = mysql_fetch_row($result)){
// Ma boucle
}
?>
</select> </span>
</div>
</form>je voudrai recuerper c'est valeur par un POST mais je ni arrive pas avec le ONchange ...
Qlq peu me donner un coup de main ?
Merci