I have this code creating a row in a table if there is content in the corresponding db row:
<td><? if (empty($row->Faldne_5)): ?>
<? else: ?>
<? echo $row->faldne?>
<? endif; ?> </td>
The problem is, that if there is no content in the db for this row, it displays an empty row in the table, and that is exactly what I would avoid.
You can see an example here: https://kroweb.dk/gfdev/collecting_page2/soegedb/soegeDatabaser.php?sogn=Bjerning&amt=Haderslev
in the table in the column to the left. Here are displayed two rows with content (which is correct) and one empty row (which actually also is correct) and here I need the empty row not to be displayed.
If anybody have some ideas on how to make that work I would be very happy :)