I have a small site (only 1 php page) which is outputting a MySQL as a table. The outputted Data is separated by Projects. A Project can have up to 20 Images - each entry within a project has the same data (project name, description, copyright, link to an image,...) Currently the output displays all the fields - if there are 20 Images then the same text will be shown 20 times which is annoying. The desired result should show the UserID, the project name, the description,... only 1 time, and below these texts there should be a line with the images (5 per Row, max 4 Rows). I have played a little and will upload what I have until now - Currently only the first image will presented correct, then there is a <br> and the others are a row below.