Jump to content

gameur

Membre
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutre
  1. voici les ligne 142 a 185 du fichier out.php: Mais l'erreur viendrai de la base mysql ou du cript de la page? $rv=@mysql_query("select time_last from ".$EXT_TABLE."topliste_ip where ip='$ip' and entree=$come order by id desc"); echo mysql_error(); list($time_last)=mysql_fetch_array($rv); $time=time(); $mini=$time-$TIME_IP*60*60; if ($time_last<$mini) { mysql_query("insert into ".$EXT_TABLE."topliste_ip values('','$ip','$time','$id_where','$come')"); } else { mysql_query("insert into ".$EXT_TABLE."topliste_ip val
  2. Bonjour à tous, Je suis en train de crée une toplist et j'ai un probleme lorsque le visiteur doit etre rediriger, au lieu de tomber sur un site de la toplist on tombe sur ce message d'erreur: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order by id desc' at line 1 Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/toplist/out.php on line 144 Warning: Cannot modify header information - headers already sent by (output started at /home/toplist/out.php:143)
×
×
  • Create New...