Je met en place une liste et jr souhaite récupérer la valeur choisie dans une zone de texte mais cela ne marche pas.
u'ai je oublié.
Merci
<table width="70%" align="center" border="0" cellspacing="0" cellpadding="10">
<tr>
<td>
<p><font face="Arial" >Sélèctionnez le thème à visualiser sinon <a href="admin_photos_choix.php">Tous les thèmes confondus</A></font></p>
<form name="Form_photo" action="admin_photos_choix.php" method="post">
<table width="100%" border="0" cellspacing="1" cellpadding="2" bgcolor="#CFCFCF">
<tr>
<td bgcolor="#000099"><font color="#FFFFFF" face="Arial" >Thème</font>
</td>
<td bgcolor="#FFFFCC"><font face="Arial" >
<SELECT name="Vignette"
onclick="Form_photo.Detail.value=Form_photo.Vignette.value">
<?php
$query = "select * from tbltheme ";
$result = mysql_query($query) or die ("Execution de la reqête impossible");
$compteur=1;
while ($ligne=mysql_fetch_array($result))
{
extract($ligne);
echo "<option value=$Index_Theme>$Legende_Theme</option>";
$compteur++;
}
echo"</SELECT>";
?>
</td>
</tr>
</table>
<input type="text" name="Detail" value="">
<p>
<input type="submit" name="Action" value="Rechercher">
</form>
</td>
</tr>
</table>