Bonjour,
j´ai réalisé ceci, mais ne marche pas:
<?php
$select_type_choice = ($_POST[´type_choice´]);
if($posted_type)
{
$affiche = ("1");
$pourcentage_ac = "";
$pourcentage_nac = "";
$pourcentage_nbr = "";
if($select_type_choice == "ServForb")
{
$pourcentage_ac = ($Forb_serveur_mp[´active´]);
$pourcentage_nac = ($Forb_serveur_mp[´non_active´]);
$pourcentage_nbr = ($Forb_serveur_maintenance_pourcentage);
}
}
?>
<div align="center">
<form method="post" action="">
<input type="hidden" name="posted_type" value="1" />
<select class="formulaireBoiteRechercher" name="type_choice">
<option name="type_choice" value="ServForb">Serveur-lBl Forb</option>
<option name="type_choice" value="ServFatch">Serveur-lBl Fatch (en création)</option>
</select>
<input name="submit" type="submit" value="Selectionner" class="boiteFormulaire" />
</form>
</div>
</p>
<p>
<div align="center">
<table width="200" border="1">
<tr>
<td><span class="texte"><?php echo($pourcentage_ac);?></span><span class="test2"><?php echo($poucentage_nac);?></span></td>
</tr>
<tr>
<td><?php echo($poucentage_nbr);?>%</td>
</tr>
</table>
</div>
</p>
ais-je fait une erreur ?