$sonuc = $db->query("SELECT p.post_no, p.icerik, p.saat, u.uye_no, u.email, u.sifre, u.ad FROM post AS p
INNER JOIN uye AS u ON p.uye_no = u.uye_no WHERE p.post_no = ? ");
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '?' at line 2
BİND_PARAM MI YAPMAM GEREKİYO
böyle düzelttim ama hiç bi şey çıkmıyo
$stmt = $db->prepare("SELECT p.post_no, p.icerik, p.saat, u.uye_no, u.email, u.sifre, u.ad FROM post AS p
INNER JOIN uye AS u ON p.uye_no = u.uye_no WHERE p.post_no = ? ");
if ($stmt == false) die ($db->error);
$stmt->bind_param(i,$_GET["post_no"]);
$stmt->execute();
$sonuc=$stmt->get_result();
while($row = $sonuc->fetch_array()){
echo '
' . $row['icerik'] . '
}