SELECT DISTINCT(id),path,file,date_available
       ,tn_ext,name,filesize,storage_category_id,average_rate
  FROM phpwebgallery_images AS i
    INNER JOIN phpwebgallery_image_category AS ic ON id=ic.image_id
  
    AND  category_id NOT IN (36,35,37,38,39,40,41,42,43,44,45,46,47,52,53,54,55,56,57,58,59,60)
   ORDER BY hit DESC, file ASC
  LIMIT 16,-1
;
[mysql error 1064] 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 '-1' at line 8

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /mnt/100/sda/2/e/antho53/include/category_default.inc.php on line 53

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /mnt/100/sda/2/e/antho53/include/category_default.inc.php on line 62
15 plus vues
15 plus vues [15]