Kanarie List Issue

new topic     » topic index » view thread      » older message » newer message

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/

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu