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
|
<?php
$req_contacts = "SELECT * FROM contacts WHERE CO_EN_raisonSociale LIKE '%" .$row_rsGeneral['EN_raisonSociale'] . "%'";
$rsContacts = mysql_query($req_contacts, $conn_clients) or die(mysql_error());
?>
<table width="95%"**border="0" cellspacing="0" cellpadding="0">
<?php
while ($row_rsContacts = mysql_fetch_assoc($rsContacts)) {
?>
<tr bgcolor="#FF0000">
<th colspan="2" scope="col"><h2 class="Style1"><?php echo $row_rsGeneral['EN_raisonSociale']; ?></h2></th>
</tr>
<tr bgcolor="#FFFFCC">
**<td width="45%" align="left"><strong>Adresse</strong></td>
**<td width="55%" align="left"><?php echo $row_rsGeneral['EN_adresse']; ?></td>
</tr>
</table>
<?php do {?>
<table width="95%"**border="0" cellspacing="0" cellpadding="0">
<tr bgcolor="#000000">
**<th colspan="2" scope="col"><span class="Style1">Contacts</span></th>
</tr>
<tr bgcolor="#FFFFFF">
**<td align="left"><strong>Civilité</strong></td>
**<td align="left" class="Style2"><?php echo $row_rsContacts['CO_civilite']; ?></td>
</tr>
<tr bgcolor="#CCCCCC">
**<td align="left"><strong>Nom</strong></td>
**<td align="left" class="Style2"><?php echo $row_rsContacts['CO_nom']; ?></td>
</tr>
<?php
}
?>
</table>
</form>
<p> |