Well, then what do you know?
Do you have PHP/MySQL setup? Do you know how to connect to the database? Do you know how to select data? Do you know how to use the data? Do you know the basics of programming (sequence, selection, iteration)? Do you know how to iterate through an array? How about a mysql result set? Do you know how to output data? Do you know how to format data with HTML?
You gotta give us something to work with because this is not a forum where people code for you. We're happy to help if you give a specific problem.
(PS If you really do need basic help with stuff like loops, you should ask your questions in the newbies forums since that is what it is there for)