$ _ POST cannot receive two-dimensional arrays automatically generated by the smarty Template

Source: Internet
Author: User
$ _ POST cannot receive two-dimensional arrays automatically generated by the smarty template. there are multiple identical data records on the same page, which are grouped. Now I have a problem. I cannot obtain the name sequence automatically generated by smaryt for input. The indexes 0 and 1 are generated by smarty through variables. & Lt; input & nbsp; type = "text" & nbsp; name = my [$ _ POST cannot receive 2D arrays automatically generated by the smarty Template
There are multiple identical data entries on the same page, divided into groups.

Now I have a problem.
I cannot obtain the name sequence automatically generated by smaryt for input.
The indexes 0 and 1 are generated by smarty through variables.





I cannot get these values for $ _ POST now. why?
Var_dump ($ _ POST [my]);

Array (size = 2)
0 => string 'array'
1 => string Array'

Please help.

------ Solution --------------------
Bored, right?
Since you
Var_dump ($ _ POST [my]);
Display
Array (size = 2)
0 => string 'array'
1 => string Array'

So
Print_r ($ _ POST ['my']);
Why is there nothing?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.