Barbary j'ai changé les lignes de 59 a apres en mysql_query a la place de query
Mais maintenant il est écris a la placeCode PHP :
<?php
$sql = mysql_query("SELECT * FROM perso WHERE idperso='$idperso'");
$perso = mysql_fetch_assoc($sql);
$sql = mysql_query("SELECT * FROM carte WHERE x='".$perso['x']."' AND y='".$perso['y']."'");
$terrain = mysql_fetch_assoc($sql);
Code PHP :
<?php
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/horexas/public_html/Carte.php on line 59
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/horexas/public_html/Carte.php on line 61