Merhaba,
Aşağıda görüntüsünü eklediğim şekilde bir tablo hazırladım. Ancak satırlar aşağı yönlü hizalanmıyor.
Nasıl bir çözüm önerirsiniz?
Teşekkürler.
Kodlar;
<h2>Mutabakat Gönderen Firma Bilgileri</h2>
<table>
<tr>
<th>Firma Ünvanı</th>
<td>Gönderici Firma Bilgileri</td>
<th>Vergi Dairesi</th>
<td>Vergi Dairesi</td>
</tr>
<tr>
<th>Firma Yetkilisi</th>
<td>Yetkili Adı/td>
<th>Vergi Numarası</th>
<td>VKN Eklenecek</td>
</tr>
<tr>
<th>Firma Email</th>
<td>info@info.com/td>
<th>Adres</th>
<td>Gönderici firma adres bilgileri</td>
</tr>
<tr>
<th>Firma Telefon</th>
<td>90 212 000 00 00</td>
<th>Firma Faks</th>
<td>90 212 000 00 00</td>
</tr>
</table>
<form name="mutabakatForm" action="islem.php" method="post" onsubmit="return validateForm()">
<input type="hidden" id="linknum" name="linknum" value="<?php echo htmlspecialchars($linknum); ?>">
<input type="hidden" id="cevaptar" name="cevaptar" value="<?php echo htmlspecialchars($cevap_tar); ?>">
<h2>Mutabakat Bilgileri</h2>
<table>
<tr>
<th>Firma Ünvanı</th>
<td><?php echo htmlspecialchars($row['CUSTOMER']); ?></td>
<th>Mutabakat Dönemi</th>
<td><?php echo date('d-m-Y', strtotime($row['DONEMILK'])); ?> - <?php echo date('d-m-Y', strtotime($row['DONEMSON'])); ?></td>
</tr>
<tr>
<th>Firma E-Mail</th>
<td><?php echo htmlspecialchars($row['MAIL']); ?></td>
<th>Onaylayan IP</th>
<td><?php if (!empty($row['CEVAPIP'])) {
echo htmlspecialchars($row['CEVAPIP']);
} else {
echo htmlspecialchars($kullanici_ip);
} ?>
</td>
</tr>
<tr>
<th>Firma Yetkilisi</th>
<td><?php echo htmlspecialchars($row['NAME']); ?></td>
<th>Mutabakat Tarihi</th>
<td><?php echo date('d-m-Y', strtotime($row['TARIH'])); ?></td>
</tr>
<tr>
<th>Durum</th>
<td> <?php if ($row['DURUM'] === 'Evet') {
echo "Mutabık";
} elseif ($row['DURUM'] === 'Hayır') {
echo "Mutabık Değil";
} else {
echo "Mutabakat Bekleniyor";
} ?>
</td>
<th>Yanıtlayan</th>
<td><?php
if (!empty($row['ONAYLAYAN'])) {
$cevaptar = new DateTime($row['CEVAPTAR']);
echo htmlspecialchars($row['ONAYLAYAN']) . " (" . $cevaptar->format('d-m-Y H:i:s') . ")";
} else {
echo '<input type="text" name="onaylayan" placeholder="Adınız Soyadınız" required>';
}
?>
</td>
</tr>
</table>
<br>
<table>
<tr>
<td><b>Borç / Alacak</b></td>
<td><b>Bakiye</b></td>
<td><b>Para Birimi</b></td>
</tr>
<tr>
<td><?php echo htmlspecialchars($row['BAKTUR']); ?></td>
<td><?php echo htmlspecialchars($row['BAKIYE']); ?></td>
<td><?php echo htmlspecialchars($row['CURRENCY']); ?></td>
</tr>
</table>