• atrag

    (@atrag)


    This should be very simple but its turning out not to be. I want each post to display the number in the sequence it is being shown in the query. So this seemed very simple to me. Within the loop I put:

    `$ordertodisplay++;
    echo $ordertodisplay;`

    However each post just shows 1. Can you explain what I am doing wrong?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Assigning Variable for Order in Sequence’ is closed to new replies.