Kanarie List Issue
- Posted by cklester <cklester at yahoo.com> Aug 09, 2005
- 506 views
Tommy, I apparently don't know how to use lists... Check this out and let me know what I'm doing wrong... please! :) In my program: if length(dblist) > 0 then i = addListItem(data,"databases") for t=1 to length(dblist) do setValue(i,"dbname",dblist[t][D_NAME]) end for end if In my KNR template: {db_count=0:} {:db_count=:}<p>Open Database ({db_count})</p> <ul id="navlist"> {databases:}<li><a href="?dbopen={dbname}">{dbname}</a></li>{:databases} </ul> {* list databases *} {:db_count} -=ck "Programming in a state of EUPHORIA." http://www.cklester.com/euphoria/