On an index page, I have this:
include "commentformonoff.php";
I would like to modify it so that this inclusion is only done if a variable $countcomments is equal to 99 or less. If $countcomments is equal to 100 or more, I would like to echo a message that says “Comments closed.”
How can I do this?
Thanks in advance,
John
1 Answer