I know that if you put a variable name in single quotes, it'll print the variable name, but if you don't know what the name of the variable is, how are you supposed to do it?
For example, say you have a form and the inputs have names that are retrieved from a database, and the values could be different every time. Let's say 3 of these inputs turned out to be named "a", "b", and "c". When the form is posted, you get:
$POST["a"]
$POST["b"]
$_POST["c"]
But, like I said before, the names could be anything with this particular form. So, you're stuck with using the basic $_POST as an array.
How would you go about making new strings of those three names from the $_POST array? So that you would end up with something like:
$input1 == "a"
$input2 == "b"
$input3 == "c"
I hope that's clear enough, and I hope this is possible! lol