In article <[EMAIL PROTECTED]>, 
> Not knowing what else is going on here... at the
> very least your row counting variable is inconsistent.
> You mention row_count (in the modulus test) and rowcount
> (in the initialization and incrementation).


        $rowcount = 0
        while($forum = $db->fetch_array($query)) {
          $forumlist .= ($rowcount % 2) ? 
                        forum($forum, "index_forum") : 
                        forum($forum, "index_forum2");

PHP Database Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to