timcadieux
Programmer
Folkz, I get the recordCount from my db, and i need to populate some information, currently i'm doing this..
but if my recordCount is say 10, how could i dynamically build this into my code?
Code:
var photos=new Array()
photos[0]="[URL unfurl="true"]http://test/cls_images/lores/<%=Series_Dir%>/<%=pic(0)%>"[/URL]
photos[1]="[URL unfurl="true"]http://test/cls_images/lores/<%=Series_Dir%>/<%=pic(1)%>"[/URL]
photos[2]="[URL unfurl="true"]http://test/cls_images/lores/<%=Series_Dir%>/<%=pic(2)%>"[/URL]
photos[3]="[URL unfurl="true"]http://test/cls_images/lores/<%=Series_Dir%>/<%=pic(3)%>"[/URL]
photos[4]="[URL unfurl="true"]http://test/cls_images/lores/<%=Series_Dir%>/<%=pic(4)%>"[/URL]
but if my recordCount is say 10, how could i dynamically build this into my code?