portal.php
will obviously produce division by zero error when you have no topics.Code: Select all
$posts_per_topic = $total_posts / $total_topics;
portal.php
will obviously produce division by zero error when you have no topics.Code: Select all
$posts_per_topic = $total_posts / $total_topics;
It is kinda difficult to fix code with CTRL+C => CTRL+V method unless you post the exact fix, ya know?juango wrote:dok i know what the correct code is, i was just trying to let terr0r know if he could fix it so that his posted code here is valid that is all!
language="JavaScript1.2"
with valid code... language/en/mods/go.php
.