$ _ 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.





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

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

Please help.


Reply to discussion (solution)

BUG?
What do you see in print_r ($ _ POST ['my?

BUG?
What do you see in print_r ($ _ POST ['my?
Nothing

BUG?
What do you see in print_r ($ _ POST ['my?
I used a brand new page to check the PHP Manual,
But it is not available in officially developed programs.

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?

Is your tag closed?

=>

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?

Print_r ($ _ POST ['my'])
The output is also
Array ([0] => Array [1] => Array)

Is your tag closed?

=>

Of course it is closed, huh, huh.

Is it because name must be a string?

Is it because name must be a string?
That's not.

What should I do with this problem. Step by step, there is no problem with the one-dimensional array, and there is a problem with the two-dimensional array.

What do you see in the browser "view Web page source code "?

The source code is automatically generated by smarty.

              

Job Information

Job title Marketing manager

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.