I have a beginers question and any help is greatly appreciated. I just started writing small programs and I in the middle of one.
I am using the following loop to extract a list of filenames from an MySQL database:
while ($row = mysql_fetch_array($result))
it results in a list of more than 20 files. I would like to display those images four at a time. That is create a table of images and only display four at a time with a next button at the bottom that when pressed displayes the next four and so on and so on until all the images have been displayed. I know that there is probably a simple loop that woudl take care of this but I cant for the life of me figure out.
Any help would be greatly apprecited.