What I need to know is how how do I make the $XYZ represent the total amount of polls available.
If for example I have 7 polls but poll nr4 is deleted I like to use the above to show poll nrs. 1,2,3,5,6,7 (4 is skipped)
I do not know how to read the amount of polls in PHP...
When I use for example value "7" instead of $XYZ it nicely shows the first 7 polls including the comments
What I like to do is replace the "$XYZ" for a value that represents the end of the amount of polls created.
Anybody knows how to declare a variable that represents the amount of polls?
Also If a poll is not existing anymore it should skip this number.
By implementing this I could always sort my polls and dislay them ascending or descending in order of creation.
I like to even take this a step further, but my knowledge is not enough... Anyone interested to help me, for a price of course?