bonjour ..j ai un probleme

en fait j ai un fichier suggestion.php et un fichier profile2.php

j ai crée un lien dans le fichier suggestion.php vers profile2.php,mais il marche pas..je sais pas pourtant que j ai crée un autre lien dans le meme page qui ramene vers une autre page et qui marche bien

ici le lien qui j ai crée
Code : Sélectionner tout - Visualiser dans une fenêtre à part
echo"<td><a href=\"profile2.php?id=$iduser2\" ><h3>$pseudo2</h3></a></td></tr>";


voila tous le code



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
117
118
119
120
121
122
123
124
125
126
127
128
129
<?php
session_start();
$rec_idusers=$_SESSION['_idusers'];
$rec_idnom=$_SESSION['_nom'];
$rec_idprenom=$_SESSION['_prenom'];
$rec_pseudo=$_SESSION['_pseudo'];
?>
 
<!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=utf-8" />
<link href="style.css" rel="stylesheet" type="text/css" media="screen"  />
<style type="text/css">
</style>
<title>Document sans titre</title>
</head>
 
<body background="Tweeter_logo.jpg">
 
<div id="content1">
 
    <div id="menu">   
    <table width="801" height="39" border="0" align="right">
	<tr>
	<td width="264">&nbsp;</td>
	<td width="86"><a href="profile1.php" title="">Acceuil</a></td>
	<td width="94"><a href="#" title="">Profil</a></td>
	<td width="88"><a href="listemessages.php" title="">Messages</a></td>
	<td width="99"><a href="suggestion.php" title="">Suggestions</a></td>
	<td width="144"><a href="#" title="">Deconnexion</a></td>
	</tr>
		</table
      ></div>
 
   <div id="body">
 
         <div id="droite">
         <table width="200" border="0" style="margin-left:50px; margin-top:20px;">
  <tr>
    <td rowspan="3" ><img src="Tunisie.jpg" width="70" height="100" /></td></td>
    <td><?php echo  "<a href=\"profile2.php?id=$rec_idusers\" ><h3>$rec_pseudo</h3></a>";?></td>
 
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
<HR style=" WIDTH: 300px; margin-left:25px; margin-top:25px; " align=center>
<?php 
include ("connexion.php");
$abonnement=mysql_query("select COUNT(*) AS suivu from suivre where suivu='$rec_idusers'");//count(*)
$nbre_abonnement=mysql_result($abonnement,0); 
echo"<a href=\"abonnements.php?id=$rec_idusers\" ><h3 style=\"margin-left:25px;\" >Abonnements $nbre_abonnement</h3></a>";
 
$unabonne=mysql_query("select COUNT(*) AS suivu from suivre where suit='$rec_idusers'");
$nbre_abonne=mysql_result($unabonne,0);
echo"<a href=\"abonne.php?id=$rec_idusers\" ><h3 style=\"margin-left:25px;\" >Abonnés $nbre_abonne</h3></a>";
?>
 
 
     </div>
 
         <div id="gauche">
               <div id="message">
<h1>Suggestions de comptes Twitter basées sur vos abonnements et plus encore</h1>
 
  </div>
 
          <?php
		  include("connexion.php");
		  //$laville="bonjour/////////////////////////////////////////////////////////////////////////////////";
		  $req3="select ville from user where iduser='$rec_idusers'";
		  $exe3=mysql_query($req3);
		  $res3=mysql_fetch_row($exe3);
		  $laville=$res3[0];
		  //echo "$laville";
		  $exe1=mysql_query("select * from user where ville='$laville'");
          if(mysql_num_rows($exe1)>0)
		  {
		  while($res=mysql_fetch_row($exe1))
		  {
		  //recuperation ddes informations des users
		  $iduser2=$res[0];
		  $pseudo2=$res[4];
		  $bio=$res[5];
		  //on teste si il est abonnée
		  $resultat=mysql_query("select * from suivre where suivu='$rec_idusers' and suit='$iduser2'");
		  if(mysql_num_rows($resultat)>0)
		  {
		  }
		  else
		  {
		echo"<table border=\"0\" style=\"margin-left:20px;\>";
		echo"<tr><td colspan=\"2\">&nbsp;</td></tr>";
		echo"<tr><td rowspan=\"3\"><img src=\"Tunisie.jpg\" width=\"70\" height=\"100\" /></td>";
		echo"<td><a href=\"profile2.php?id=$iduser2\" ><h3>$pseudo2</h3></a></td></tr>";
		echo"<tr><td>$bio</td></tr>";
		echo"<tr><td>&nbsp;</td></tr>";
		echo" </table>";
		echo"<HR style=\"WIDTH:548px; margin-top:25px;\">";
					}
			  }
		  }
 
		  //echo $laville;
		  ?>
 
          </div>
 
      </div>
 
 
 
<div id ="pied">
  <center>copyright 2011 |2011-2012<br/>
  Fait par <a href="#" >hello</a></center>
</div>
 
 
</div>
 
 
 
</body>
</html>