Whoa there Bruce. Cool down a second.
First off, text based forums leave out a lot the normal clues that we humans look for to understand what the other person means. My sincere apologies if you thought I was insulting you - I was not.
Second off, let me explain what happened. Please take a look at my post above (#7). First I did my best to answer your question, THEN I responded to Kudose's post above (#5). See, Kudose was correcting me on my failure to deal with register globals correctly - but really, register globals have nothing to do with Ajax so he was just complicating the discussion.
My response to Kudose was essentially: "Yeah Kudose, I know. I didn't deal with Register Globals correctly... but this wasn't really a register globals question... this was an Ajax question."
If you (or anyone else) wants to know how to handle register globals, there's tons of information about them on the web AND in this forum. But this particular Thread was about Ajax and didn't need to be confused with a discussion about register globals - I was telling Kudose why I didn't bother to address register globals correctly.
My comment might be the same as a mechanic talking about cars. "Yeah, I know you shouldn't ride the clutch... but anyone asking about installing a new transmission in a car doesn't need to be told not to ride the clutch." He's not insulting people who don't know that you shouldn't ride the clutch.
So, I'm willing to start from scratch. I'm sorry for any confusion that led to hurt feelings. If you want to show me your code, I'll be happy to help you get it working.