j'ai créer un repertoire en php, avec des templates. le seul problème qui me reste a résoudre est l'affichage de la fiche récapitulative du contact.
pour eviter trop de question, la requête pour avoir les données a affichés fonctionne parfaitement, et sont bien amené au formulaire.
voici le code de la fiche (fiche.tpl):
Code : Tout sélectionner
<style type="text/css">
<!--
.Style3 {
background-image: url(../../images/header.jpg);
font-size: 16px;
font-weight: bold;
}
.Style4 {font-size: 14px}
-->
</style>
<h1 align="left" class="Style4" style="text-color:#000099">date d'anniversaire: {Fiche.Dateannif}</h1>
<h1 align="center" style="text-color:#000099">Fiche {Fiche.Libelletype} de {Fiche.RaisonSociale} </h1>
<h1 align="left" class="Style3" style="text-color:#000099">Adresse : {Fiche.Adresse}, {Fiche.Codepostal}, {Fiche.Ville}</h1>
<p align="center" style="text-color:#000099"> </p>
<table width="100%" border="2" cellspacing="0" cellpadding="0">
<tr>
<th height="60" scope="col"><div align="left">Activité : <th>{Fiche.Activite}</th></div></th>
</tr>
<tr>
<td height="60"><div align="left"><strong>Descriptif : {Fiche.Description}</strong> </div></td>
</tr>
</table>
<p align="left" style="text-color:#000099"> </p>
<table width="100%" border="2" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<th scope="col">Contact </th>
<th scope="col">Numero de telephone fixe </th>
<th scope="col">Numero de telephone portable </th>
<th scope="col">e-mail</th>
</tr>
<!-- BEGIN Fiche -->
<tr>
<th width="24%" height="148" scope="col">{Fiche.Nom} {Fiche.Prenom}</th>
<th width="24%" scope="col">{Fiche.Telfixe}</th>
<th width="26%" scope="col">{Fiche.Telportable}</th>
<th width="26%" scope="col">{Fiche.E_mail}</th>
</tr>
<!-- END Fiche -->
</tbody>
</table>
<p align="left" style="text-color:#000099"> </p>