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 58 59 60 61 62 63 64 65 66 67 68
|
<!--- L'étoile dans un SELECT, c'est mal --->
<cfquery datasource="db" name="dbo">
SELECT id
, civilite
, nom
, prenom
, batiment
, adresse
, adresse2
, ville
, cp
, pays
, societe
, departement
, fonction
, titre
, tel_bureau
, tel_domicile
, gsm
, fax
, emai
, bp
, cpbp
FROM dbo
WHERE id=<cfqueryparam value="#FORM.test#">
</cfquery>
<form method="POST" action="modifier.cfm">
<input type="hidden" name="test" value="dbo.id"
<div id="menu">
<TABLE BORDER CELLSPACING=1 cellpadding="10">
<tr><th>Civilite</th><th>Nom</th><th>Prenom</th><th>Batiment</th><th>Adresse</th><th>Adresse 2</th><th>Ville</th><th>Code Postal</th><th>Pays</th><th>Société</th><th>Département</th><th>Fonction</th>
<th>Titre</th><th>Tel Bureau</th><th>Tel Domicile</th><th>GSM</th><th>Fax</th><th>E-mail</th><th>Boite Postal</th><th>Code Postal/Boite Postal</th></tr>
<tr>
<td>#dbo.civilite#</td>
<td>#dbo.nom#</td>
<td>#dbo.prenom#</td>
<td>#dbo.batiment#</td>
<td>#dbo.adresse#</td>
<td>#dbo.adresse2#</td>
<td>#dbo.ville#</td>
<td>#dbo.cp#</td>
<td>#dbo.pays#</td>
<td>#dbo.societe#</td>
<td>#dbo.departement#</td>
<td>#dbo.fonction#</td>
<td>#dbo.titre#</td>
<td>#dbo.tel_bureau#</td>
<td>#dbo.tel_domicile#</td>
<td>#dbo.gsm#</td>
<td>#dbo.fax#</td>
<td>#dbo.email#</td>
<td>#dbo.bp#</td>
<td>#dbo.cpbp#</td>
</tr>
</table>
<input type="submit" value="Modifier">
</form>
</div>
</cfoutput> |
Partager