I think this is really easy, but I'm not getting it. I know that any form field can be referenced on the page that the information is posted to by putting a $ in front of it (asssuming globals are turned on, which is the case in the host that I have access to).
On one of my forms, I have an array, called categories[] and I'm trying to give users an error if they don't choose at least one item in the list. Unfortunately, if I can't access it via $categories like any other form field because I keep getting an undefined variable message. $categories[] doesn't work either. These problems only exist when nothing is selected, otherwise it works fine.
How do you access the array variable? Thanks in advance.