title: PHP and MYSQL displaying 1 record of multiple Name
body: <p>i am designing one model website which have different events. I have store the image in a database table name image. Now my question is how do i display one record for one event out of many records? For example : the user will upload multiple events image in same image but with same event name. Now i have to display single image per event.</p>
  
  <p>The name of table is images it got filed like imageID, imageName, imageType, eventName, imagePath</p>
  
  <p>how do i create an sql statement where it print different event name and image</p>