I have A two-dimensional array. I want to edit the content and save it as A new two-dimensional number for the row. Do I read A two-dimensional array A from the cache, display the values of the two-dimensional array in A list table, and modify the value of the list by clicking save to overwrite the original array A. can this effect be achieved ?? ------ Solution -------------------- my sweat... what is your cache carrier? ------ Solution -------------------- discuss the carrier I have a two-dimensional array, I want to edit the content, save it as a new two-dimensional number to the row?
I read A two-dimensional array A from the cache, display the values of the two-dimensional array in A list table, and then
Modify the value of the list, click save, overwrite the original array,
Can this effect be achieved ??
------ Solution --------------------
My sweat...
What is your cache carrier?
------ Solution --------------------
Discussion
Carrier text file
------ Solution --------------------
What do you want to do?
Complicated structure
------ Solution --------------------
$ Ar = include ('data filename ');
$ Ar [0] ['type'] = $ ar [1] ['type'];
File_put_contents ('data filename ','
------ Solution --------------------
What about array serialization?
------ Solution --------------------
Why is such complex data not stored in the database? This allows you to operate on a specific value, which is quite convenient. You only need to connect the table relationship.