Ben bu sayfayı vurmak ilk kez, URL hiçbir işlem parametre var olduğunu sanıyorum. Eğer öyleyse, o isset () false olacak. Ayrıca, muhtemelen =! Istiyorum, yerine! ... == ....
Ben bu kodu test, ama ben başlamak istiyorum nerede burada değil:
<?php if (!isset($_GET['action']) || ($_GET['action'] != 'reply')) { ?>
    <div class="actions">
    <input type="button" onclick="javascript: document.location='?threadID=<?=$threadID?>&action=reply';" value="Post reply" class="btn" />
    </div>
<?php } ?>
Ben de bu format biraz daha kolay okumak bulabilirsiniz:
<?php if (!isset($_GET['action']) || ($_GET['action'] != 'reply')): ?>
    <div class="actions">
    <input type="button" onclick="javascript: document.location='?threadID=<?=$threadID?>&action=reply';" value="Post reply" class="btn" />
    </div>
<?php endif; ?>