I need to retrieve an php variable only by knowing it's html input name.
Such as: I know the input's name is admin[username] so I want to get the variable $_POST['admin']['username]
I need this for some sort of validations of the inputs. In other word, I save the html input name when I display the form, but only test it at the next server request, so I don't always know what will be the php variable name, since it can be modified by javascript or I can have array such if the html input name is admin[]
Thank you
$_POST['admin'][]array elements?<input type=text name="admin[username]" />?