The picture shows the post's ID for each post
Right. As stated several times, that's the goal in this topic. My code in the first post in this topic doesn't work, and your code in
viewtopic.php?f=71&t=2316476&start=15#p14096221 doesn't get the goal because it shows all post ID existing in the topic in each post
Brf told you numerous times how to achieve outputting the post's ID for each post
I know that, but I can't use his/her indication. I can't use postrow.POST_ID because I need a code with such structure that to be scalable and reusable for a similar and bigger problem. As you know, big problems some time are 'chopped' into less complex parts. If one resolves the minor parts, then can resolve the whole big task. That's what I'm pretending from the beginning, as I stated several times too.
It's obvious we're not understanding each other. Anyway, thank you all guys who tried to help. When having a little time, I'll create a new topic where I'll expose my main actual question (which I planned to resolve by myself if I would have learnt how to solve this topic's example first).