joined:Oct 5, 2009
Hi - having a little problem with this one. I have a results page which shows data from a mysql db table, but I want to be able to "switch off" certain elements in the results page table using IF...ELSE and can't quite work out how to do this.
For example, some of the listings on the results page have a logo, some don't - I have a dynamically linked placeholder for the logo, but rather than having a red cross or other missing image symbol, I want to be able to wrap this element in a statement which basically says "if the logo field is empty, don't display this item" -I'm sure it's pretty straightforward but I can't quite get my head round it and would be grateful for an idiot-proof statement of how to achieve this. Thanks in advance...