I currently have a php while loop and in that loop is a <div> this gets repeated per post on my wall and I want to give each div a unique id like the following (<div id="name_1">, <div id="name_2"> etc...
I have no idea how to give these divs unique id's. Each time I have tried I can generate a number but it just repeats that same number per post so my jquery always affects the first div only. and none of the other posts.
Thanks in advance,