1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
| $requete = mysql_query("SELECT * FROM societe WHERE RC='".$RC."' AND centre='".$centre."' AND annee='".$annee."'") or die(mysql_error());
//affichage des données:
$result = mysql_fetch_assoc( $requete );
{
?>
<table border="0" align="center" cellspacing="2" cellpadding="2" bgcolor="#eeeeee" class="tableaux">
<tr align="center">
<td>Centre</td>
<td><input type="text" name="centre" value="<?php echo $result['centre'] ;?>"></td>
</tr>
<tr align="center">
<td>RC</td>
<td><input type="text" name="RC" value="<?php echo $result['RC'] ;?>"></td>
</tr>
<tr align="center">
<td>Année</td>
<td><input type="text" name="année" value="<?php echo $result['année'] ;?>"></td>
</tr>
<tr align="center">
<td>Raison social</td>
<td><input type="text" name="raison" value="<?php echo $result['raison_social'] ;?>"></td>
</tr>
<tr align="center">
<td>Chiffre d'affaire</td>
<td><input type="text" name="CA" value="<?php echo $result['CA'] ;?>"></td>
</tr>
<tr align="center">
<td>Rappatriement</td>
<td><input type="text" name="RAP" value="<?php echo $result['RAP'] ;?>"></td>
</tr>
<tr align="center">
<td>Secteur</td>
<td><input type="text" name="secteur" value="<?php echo $result['ecteur'] ;?>"></td>
</tr>
<tr align="center">
<td>Autres appurements</td>
<td><input type="text" name="autres" value="<?php echo $result['autres_apr'] ;?>"></td>
</tr>
<tr align="center">
<td>Scor contact</td>
<td><input type="text" name="scorcontact" value="<?php echo $row_chercherscor['scor_contact'];?>"></td>
</tr>
<tr align="center">
<td>Scor inspection</td>
<td><input type="text" name="scorins" value="<?php echo $row_chercherscor['scor_ins'];?>"></td>
</tr>
<tr align="center">
<td>Scor total</td>
<td><input type="text" name="scort" value="<?php echo $row_chercherscor['scort'];?>"></td>
</tr>
<?php
}while($result = mysql_fetch_assoc( $requete ));?>
</table>
<?php
}//fin if
?> |
Partager