Hey all,
I am having trouble with displaying a set amount of data from a database. There are two things I want to be able to do. The first is I want to be able to display 10, 25 and 50 results (from a search of the database) per page. The second is to display 3 images from a database on to a page, if there are less than 3 replace the remaining images with default images. If there are more than 3 images I would like to display a link to a gallery. Any help would be fantastic. I looked through the manual and my php book until I was screaming... Thanks again for any nudges in the right direction.