Subject: "displaying comment twice"
Date: Aug 24 2009 at 8:35 pm
hi i find your comments script very helpful. but i have a problem when i refresh the page twice or open the page again, it will display again the last comment i posted.
Subject: "Paginate Comments?"
Date: Sep 25 2009 at 8:00 pm
vladinko0 said...
Thanks for that script.
I would like to ask you how to make on one page displayed just for example 20 comments.
Thanks a lot
Perhaps you're talking about paginating the comments for a single page of content? This might help: Pagination then just limit the results to 20 /per page.
Subject: "If logged in"
Date: Nov 11 2009 at 9:23 am
I would like to know how to implement the code
if(isset($_SESSION['loggedin']))
{
header('Location: comments.php');
}
else
{
echo "You have to be logged in to post comments.";
}
into this script, provided it's accurate one, and then display only the comment form without user name, contact, subject, etc. The subject would be the id of the page I assume. I am so new to php and am really struggling. Your help would be appreciated.