Real Men answer Low Point Questions
Posted on 2006-11-13
I'm trying a social experiment to see how many people the subject leads to this question and/or how much flaming I get -- but perhaps my litle disclaimer fouls the control. Having said that, hey, please leave a comment on either my real question (below) or just to say, "I came here because of the subject line, and I hope you get hit by the M53 bus on your way home, jerk."
As promised, here's the actual question:
Is there any PHP code that would cycle through all of the Form elements in a form, say, just to print them out? Is there a for loop I could write that would just cruise the Docment Object Model for all elements in a form, as opposed to having to go after them one at a time with $_POST? I know I could find the answer on the Web, but I'd like to hear what the Experts think.