• 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

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Comment Loop, $i; $i problem’ is closed to new replies.