thanks ikegami.
i don't get the " won't compile comments".. the two lines fix a bug in the script which "seems" to be working ok on my host now..?? though i can now see it's not working the way i want it too. ~frowns~
i'm curious why would the code run on a server and return errors on your machines? it worked on my box ~shruggs~