bjr
je suis nouveau en sgbd et je ne trouve aucun forum ou cour pour m'aider :
j'ai créé un formulaire qui transfere bien les données à ma bdd;
ces données sont présentés dans différents "fichiers"
la fiche client est bien préremplie mais lorsque je souhaite accéder à ces fichiers depuis ma fiche client via des onglets, cela ne marche pas.
voici mes onglets
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
 
<a href="final2.php?id=$id">cr&eacute;dit</a>
<a href="avancement.php?id=$id">avancement</a>
<a href="ficheclient.php?id=$id">fiche client </a>
<a href="document.php?id=$id">Documents</a></p>
je fais probablement une erreur de débutant, mais je bloque.
voila mon script

Code : Sélectionner tout - Visualiser dans une fenêtre à part
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<?php
$db = mysql_connect('***, '***', 'motpass')  or die('Erreur de connexion '.mysql_error());
// sélection de la base  

mysql_select_db('**',$db)  or die('Erreur de selection '.mysql_error());
$sql="SELECT * FROM client  WHERE id = '".$_REQUEST['id']."'";
$resultat=mysql_query($sql) or die("Erreur SQL : $sql<br/>".mysql_error());
$client = mysql_fetch_array ($resultat)	;
$id=$client['id'];
?>	

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>rachat credit, rachat de crédit, rachat de credits,rachat de crédits</title>
<link href="css/template.css" rel="stylesheet" type="text/css" />
<meta name="description" content="baisser mes mensualités, simulation rachat credit avec réponse immediate, organisme de restructuration et de regroupement de crédits, rachat de crédits " />
<meta name="keywords" content="rachat credit,rachat credits,rachat crédit,rachat de credit,rachat de credit"/>

</head>

<body>
<div id="header"></div>
<div id="milieu">
<div id="menu">
<p><a href="index.php">accueil</a>
<a href="final2.php?id=$id">cr&eacute;dit</a>
<a href="avancement.php?id=$id">avancement</a>
<a href="ficheclient.php?id=$id">fiche client </a>
<a href="document.php?id=$id">Documents</a></p>
</div>
 <tr>
     <td align="center"><table width="100%" border="1">
          <tr>
            <td height="408" valign="top" bgcolor="#FFFF9C"><form action="ficheclientmodif.php" method="post">
			<input type="hidden" name="id" value="<?php echo $_REQUEST['id']; ?>" />
                <table width="400" border="0" align="center" cellpadding="5" cellspacing="0" bgcolor="#FFFF99">
                  <tr bgcolor="#FFFF9C">
                    <td height="30" colspan="2">
 </span></td>
                  </tr>
                  <tr>
                    <td colspan="2" bgcolor="#FF9933"><strong class="style12">recherche</strong> </td>
                  </tr>
                  <tr>
                    <td width="127" align="right"class="style11">connu par  </td>
                    <td width="253" align="left"class="style13" ><?php echo $client['connu']; ?></td>
                  </tr>

                  <tr>
                    <td align="right" class="style11">nom client </td>
                    <td align="center" class="style13"><?php echo $client['nom']; ?></td>
                  </tr>
     
                  <tr>
                    <td align="right"class="style11">pr&eacute;nom client </td>
                    <td align="center" class="style13"><?php echo $client['prenom']; ?></td>
                  </tr>
				                   <tr>
                    <td align="right"class="style11">rue</td>
                    <td align="center" class="style13"><?php echo $client['rue']; ?></td>
                  </tr>				                   <tr>
                    <td align="right"class="style11">ville</td>
                    <td align="center" class="style13"><?php echo $client['ville']; ?></td>
                  </tr>				                   <tr>
                    <td align="right"class="style11">departement</td>
                    <td align="center" class="style13"><?php echo $client['dep']; ?></td>
                  </tr>				                   <tr>
                    <td align="right"class="style11">tel fixe </td>
                    <td align="center" class="style13"><?php echo $client['tel']; ?></td>
                  </tr>				                   <tr>
                    <td align="right"class="style11">tel mobile </td>
                    <td align="center" class="style13"><?php echo $client['mobile']; ?></td>
                  </tr>					  <tr>
                    <td align="right"class="style11">mail </td>
                    <td align="center" class="style13"><?php echo $client['mail']; ?></td>
                  </tr>	
				        
				  	<tr>
                    <td align="right"class="style11">&nbsp;</td>
                    <td align="center" class="style13"></td>
                  </tr>
                  <tr>
                    <td class="Style13">&nbsp;</td>
                    <td class="Style13"><input type="submit" value="modifier" /></td>
                  </tr>
				                   <tr>
                    <td align="right"class="style11">&nbsp;</td>
                    <td align="left" class="style13"></td>
                  </tr>
				                   <tr>
                    <td align="right"class="style11">  <p align="center"><a href="partenaire.php" class="style14">recherche dossier</a></p></td>
                    <td align="left" class="style13"> <p align="center">
    
    <a href="simulation_credits1.php" class="style14">nouvelle etude </a> </p></td>
                  </tr>
                </table>
            </form></td>
          </tr>
        </table>     </td>
  </tr>
    <tr>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td height="20" align="center" bgcolor="#F4951F"><font color="#FFFFFF" size="-1">Aucun
          versement de quelque nature que ce soit ne peut &ecirc;tre exig&eacute; d'un
          particulier avant l'obtention d'un ou plusieurs pr&ecirc;ts d'argent. </font></td>
    </tr>
    <div id="footer"></div>
</div>

</body>
</html>
<?php mysql_close ($db); ?>
merci pour votre aide
pat