Je query ' SELECT ftb_photos.p_id AS photoid, ftb_photos.p_url AS photourl, ftb_photos.p_title AS title, ftb_photos.p_description AS description, ftb_photo_rating.nrvotes AS p_rating, (ROUND((`rating` * 100) / (`nrvotes` * 5))) AS percentage FROM ftb_albums, ftb_photos LEFT JOIN ftb_photo_rating ON ftb_photos.p_id = ftb_photo_rating.p_id WHERE ftb_albums.alb_id = 274 AND ftb_albums.userid = 296 AND ftb_photos.alb_id = 274 ORDER BY ftb_photos.p_pos ASC, ftb_photos. ASC LIMIT 0 , 28 ' klopt niet.