I wanted to make a "show comments" button to show comments which the codes are in comment1.php.
but after it's clicked, the comments come out, but the "show comments" is still there. Maybe there's a way i could get rid of it or change it to hide comments.
I've tried this:
but after it's clicked, the comments come out, but the "show comments" is still there. Maybe there's a way i could get rid of it or change it to hide comments.
I've tried this:
Code:
<form action="<?php $_PHP_SELF ?>" method="POST"> <input name="show" type="submit" value="Show comments" /> </form> <? if ($_SERVER['QUERY_STRING'] == 'show=Show+comments') { include ('comment1.php'); } ?>
Comment