It was Dave's answer that led me to the answer when he said 'array' is a type.
Both of you have helped me a lot to date, and I wonder if the days are gone when I'd ask a question and get a very specific answer. It seems I've been getting a slew of links that point to generalities lately, especially from Ray.
Both your responses did help though, but I had to spend a bit more time going through your links. I now know I have to use gettype() first, and if it says object, then I can use getclass() to determine what class it is. gettype() would've also returned 'array' if the variable were an array, which was what I was looking for. Had responses run along these lines, I would've given an 'A' for the solution.
Thank you both for your help.
elepil
ASKER
The definition of 'A' grade says "or is a link to information that answered the question". While that is technically correct, you really do take advantage of that as you always give me links that go way beyond the scope of my question. But just because the needle resides in one of the haystacks does not necessarily make a good answer.
I frown upon your practice of changing the grade; this would be the third time you've done this to me. I will have to talk to EE's customer service personnel about this.
Both of you have helped me a lot to date, and I wonder if the days are gone when I'd ask a question and get a very specific answer. It seems I've been getting a slew of links that point to generalities lately, especially from Ray.
Both your responses did help though, but I had to spend a bit more time going through your links. I now know I have to use gettype() first, and if it says object, then I can use getclass() to determine what class it is. gettype() would've also returned 'array' if the variable were an array, which was what I was looking for. Had responses run along these lines, I would've given an 'A' for the solution.
Thank you both for your help.