KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a POST in PHP for which I won't always know the names of the variable fields I will be processing. I have a function that will loop through the values (however I would also like to capture the variable name that goes with it.) foreach ($_POST as $entry) { print $entry . "<br>"; } Once I figure out how to grab the variable names, I also need to figure out how I can make the function smart enough to detect and loop through arrays for a variable if they are present (i.e. if I have some checkbox values.)
Tags (comma-separated)
Save Edits
Cancel