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