Merci beaucoup, mais maintenant il me dit :
PS: voici mon code entier pour ceux que ca interresse :
Code :
Parse error: syntax error, unexpected T_STRING in /mnt/119/sdb/c/2/city.of.naruto/FinalQuest/general.php on line 20
PS: voici mon code entier pour ceux que ca interresse :
Code PHP :
<?
if(isset($_SESSION['login']))
{
$sql = "SELECT * FROM fq_perso WHERE login='".$_SESSION['login']."'";
$req = mysql_query($sql) or die(mysql_error());
$coordx = $data['coordx'];
$coordy = $data['coordy'];
while($data = mysql_fetch_array($req)) {
$sql2 = "SELECT * FROM fq_map WHERE coordx='".($coordx+1).'" AND coordy=$coordy";
$req2 = mysql_query($sql2) or die(mysql_error());
while($data2 = mysql_fetch_array($req2)) {
echo "<center><table width=96><tr><td width=32><img src=\"image/map/".$data2['image']."\"></td>";
}
echo '<td width=32>
</td></tr></table>
</center>';
}
}else{
include ('seco.php');
}
?>