Unused fields
Posted: Mon Dec 27, 2010 13:18
Unused info fields (e.g. Flavour text label/field when flavour text is lacking) should not be displayed at all. Keeping them "hidden" when they're empty could in some cases free up screen estate and also makes the page less cluttered and free from non-info.
Easiest way to accomplish this that I can think of is to just check the $variable where the info from the db is stored. If non-empty, print it. If not, don't.
Easiest way to accomplish this that I can think of is to just check the $variable where the info from the db is stored. If non-empty, print it. If not, don't.