this is a little off the path...but i'm working on a little menu system that produces a series of array via javascript...easy enough...however, i have to have a series of values 0...1...2...3...to whatever...
and what i need is some way to output just the array numbers as they come out of the query...i haven't found a solution for this yet...
this is how it should look as it comes out of the loop...
names[0]='Home';
names[1]='Content';
names[2]='News';
names[3]='Whatever';
etc...
any ideas on how i might work through this?
edit: actually...as i'm trying to find some info about this...it seems i really need to create a counter instead...to count from 0 until the loop ends...hmmm...
thanks...vaska