How can I write this to receive the form value?
This post was last edited by phpcms2021 on 2015-03-24 10:56:05
There are such arrays in the Post mode form:
Use it when you see someone else writing and receiving values.
post[' Test ']
So here's the problem, I understand that only variables can be placed in post,
Like what
Written post[' test ']
And the first kind of writing let a person touch the mind, how can the array put in it, even if the post can be connected to an array, should not be bare to write a test ha, but also should add a [] that is written post[' test[] ', he wrote Test, is a what thing, referring to unknown ha! and written test[] Can be expressed as an array, and the form of test[] cannot be written as test instead of the HA
I mean, what's going on here?
------to solve the idea----------------------
Corresponds to $_post[' test ']
Corresponds to $_post[' test ' [' ABC ']
So there's no problem, right?
A form element with the same name is interpreted as an array, which is what all web languages do
Only PHP adds a little restraint.
------to solve the idea----------------------
Because the representation is a number.