Bip adlı üyeden alıntı: mesajı görüntüle
echo "<table>";
echo "<tr><th>No</th><th>İsim</th><th>Tedarikçi</th></tr>";
while ($cikti = $sorgu->fetch_array()) {
    echo "<tr>";
    echo "<td>" . $cikti["no"] . "</td>";
    echo "<td>" . $cikti["isim"] . "</td>";
    echo "<td>" . $cikti["tedarikci"] . "</td>";
    echo "</tr>";
}
echo "</table>";
Abi süpersin çok teşekkür ederim. Son bir sorum daha olacak,

Aynı döngü içerisinde yer alan iki adet rakamlı tablo var, bunların toplamını nasıl verebilirim?


while ($cikti = $sorgu->fetch_array()) {
    
    echo "<td>" . $cikti["a01"] . "</td>";
    echo "<td>" . $cikti["a34"] . "</td>";
    echo "<td>" . $cikti["a01"] + $cikti["a34"] . "</td>"; (bu satırı deneme amaçlı yaptım)
    echo "</tr>";
}
a01 ile a34 tablosunu toplayarak çıkan takamı yazdırmak istedim. bunu nasıl yapabilirim? Teşekkürler.