query($sql1); echo ""; echo ""; echo ""; echo "
"; while ($nt1 = $result1->fetch_assoc()) { $Start = date("d.m.y", strtotime($nt1['Start'])); $Ende = date("d.m.y", strtotime($nt1['Ende'])); if ('' == $nt1['Mieter']) { echo ""; } else { echo ""; } echo ""; echo ""; echo "
"; }