Forums

Comment Loop, $i; $i++ problem (3 posts)

  1. danhodkinson
    Member
    Posted 8 months ago #

    Hi all,

    currently trying to get a simple number increase to work in the comment loop but having some difficulty.

    I have set a variable of $i to = 0 and then after the last div told it to +1, however it either seems to be ignoring that or simply reseting itself to 0 after every loop? i'm completely baffled.

    Below is my code?

    Is there somewhere else i should be putting my $i variable? it doesn't seem like it's in the loop?

    [Code moderated as per the Forum Rules. Please use the pastebin]

    any help is appreciated
    Dan

  2. Jackson
    Member
    Posted 8 months ago #

    Your code was moderated...

  3. danhodkinson
    Member
    Posted 8 months ago #

    Ah, I see, here is the pastebin link:
    http://pastebin.com/wz14KKcn

    thanks
    Dan

Reply

You must log in to post.

About this Topic