Thanks
I thought I had selected the td but I must not have... I redid it with td selected and you are completely right. Sorry. It does create a pagination of 8 columns. My idea was to create an iframe for the larger images when clicked, which I did for another site, but I have another idea that uses CSS Image Navigation from DMXzone that connects to a database. It seems to contain it all in one page....
But This problem has bugged me for a week on how to get it to work in mysql. I have learned php/mysql as self taught, so there are gaps in my knowledge. Some as to very basic funtionality!