ah ok. obviously if I have lots of data relating to the webpage stored in my table (for example lets say 100 records in the table) and I am displaying those 100 records in various places dotted around the webpage...doing 100 IF statements all over the place is quite messy...is there some kind of short hand approach to display this data?