Multi-row data combination array problem ~~, I really don't want to combine it. please enlighten me! Similar to the form above, there is no js yet, not necessarily many rows. what I need to do is write one row of data into the database. This array will not be combined. the settings in my form are as follows: & lt; table & nbsp; cellspacing0 & nbsp; cellpadding0 & g multi-row data combination array problem ~~, I really don't want to combine it. please enlighten me!
Similar to the form above, there is no js yet, not necessarily many rows. what I need to do is write one row of data into the database. I will not combine this array.
My form is set as follows:
Product Name: Model: Specifications: Quantity: Unit Price: Total price: |
Product Name: Model: Specifications: Quantity: Unit Price: Total price: |
The obtained array is like this.
array
'pinming' =>
array
0 => string '123' (length=3)
1 => string '123' (length=3)
'xinghao' =>
array
0 => string '123' (length=3)
1 => string '123' (length=3)
'guige' =>
array
0 => string '123' (length=3)
1 => string '123' (length=3)
'shuliang' =>
array
0 => string '123' (length=3)
1 => string '123' (length=3)
'danjia' =>
array
0 => string '123' (length=3)