SELECT alt,rating,id_photo_categories,photos_alt.id,photos_alt.num,photos_alt.photo,user_id,pseudo as username,prenom as fullname,membres.date as reg_date,visite FROM photos_alt INNER JOIN membres ON (membres.id=photos_alt.user_id) WHERE user_id= ORDER BY photos_alt.`num` DESC LIMIT 0, 16
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 photos_alt.`num` DESC LIMIT 0, 16' at line 2