Bonjour à tous.

Je n'arrive pas à obtenir l'affichage dans le cadre inférieur suite à cette requète !!!


Est-ce que les liens de numéros ci dessous peuvent fonctionner avec un target ?

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
 
 echo ' <a href="france_historique_fiche.php?fiche='.$data['num_fiche'].' ">'.$data['num_fiche'].' </a> ';
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
 
<?php
session_start();
?>
 
<!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>pg_france_historique_choix</title>
</head>
 
<body>
 
<?php
$nom_ctr = $_SESSION['nom_ctr'] ;
$num_fiche = $_SESSION['num_fiche'] ;
 
$adr_ctr=$_POST['adr_ctr'];
$message_ctr=$_POST['message_ctr'];
$internet_ctr=$_POST['internet_ctr'];
$contact_ctr=$_POST['contact_ctr'];
$dtl_contact_ctr=$_POST['dtl_contact_ctr'];
$doc_ctr=$_POST['doc_ctr'];
?>
 
<?php
//recherche des numéros de fiches correspondant au club recherché
$host = 'http://a.free.fr/';
$user = 'b';
$pass = 'c';		
$connection = mysql_connect($host, $user, $pass)  or die('Erreur de connexion '.mysql_error());
mysql_select_db('masa_plongee',$connection)  or die('Erreur de selection '.mysql_error()); 
 
$sql_num_fiche = "SELECT `num_fiche` FROM `centre_club` WHERE `nom_ctr` ='".$nom_ctr."' ";
 
$requete_num_fiche = mysql_query($sql_num_fiche) or die('Erreur SQL !'.$sql_num_fiche.'<br>'.mysql_error());
 
while($data = mysql_fetch_assoc($requete_num_fiche)) {
 
 echo ' <a href="france_historique_fiche.php?fiche='.$data['num_fiche'].' ">'.$data['num_fiche'].' </a> ';
 
}
 
$fiche = $data['num_fiche'] ;
 
mysql_close();
 
 
?>
 
</body>
</html>
L'affichage doit se faire ici ...

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
 
<?php
session_start();
?>
 
<!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>pg_france_historique_fiche</title>
</head>
 
<body>
 
<?php
 
$fiche = $_GET['fiche'] ;
 
$adr_ctr=$_POST['adr_ctr'];
$message_ctr=$_POST['message_ctr'];
$internet_ctr=$_POST['internet_ctr'];
$contact_ctr=$_POST['contact_ctr'];
$dtl_contact_ctr=$_POST['dtl_contact_ctr'];
$doc_ctr=$_POST['doc_ctr'];
 
//recherche la fiche correspondante au club recherché
$host = 'http://a.free.fr/';
$user = 'b';
$pass = 'c';		
$connection = mysql_connect($host, $user, $pass)  or die('Erreur de connexion '.mysql_error());
mysql_select_db('masa_plongee',$connection)  or die('Erreur de selection '.mysql_error()); 
 
$sql_fiche = "SELECT `date_enreg`, `num_fiche`, `adr_ctr`, `message_ctr`, `internet_ctr`, `contact_ctr`, `dtl_contact_ctr` FROM `centre_club` WHERE `num_fiche` ='".$fiche."'"; 
 
echo "num_fiche :" .$fiche . '</br>' ;
 
$requete_fiche = mysql_query($sql_fiche) or die('Erreur SQL !'.$sql_fiche.'<br>'.mysql_error());
 
while($data = mysql_fetch_assoc($requete_fiche))
{
 
$date_enreg = $data['date_enreg'];
$adr_ctr = $data['adr_ctr'];
$message_ctr  = $data['message_ctr'];
$internet_ctr  = $data['internet_ctr'];
$contact_ctr  = $data['contact_ctr'];
$dtl_contact_ctr  = $data['dtl_contact_ctr'];
 
echo "date_enreg" . $date_enreg . '</br>' ;
echo "adr_ctr" . $adr_ctr . '</br>';
echo "message_ctr" . $message_ctr . '</br>' ;
echo "internet_ctr" . $internet_ctr . '</br>' ;
echo "contact_ctr" . $contact_ctr . '</br>' ;
echo "dtl_contact_ctr" . $dtl_contact_ctr . '</br></br>' ;
}
 
?>
 
</body>
</html>