Ah... No, that would not work at all in this context. Yes, if we have a row with data we want to display it but $details would look silly with dashes in it. It is perfectly normal for some of the fields to be empty. Imagine that 4 fields are first name, middle names and surname. So...