How to display the PHP array on the front-end page: PHP queries database data $ list. volist loops are used when the PHP array is displayed on the front-end page. Now you need to upload this array to the front-end page. the array cannot be changed. How to transfer
Reply to discussion (solution)
If it is in the tp action
$ This-> assign ("list", $ list );
View
If it is in the tp action
$ This-> assign ("list", $ list );
View
I know that this display is used to obtain the list value. I don't want to retrieve it now. I need to upload the list value to another page.
Json_encode is a string and then POST it to another page.
The result serialize is serialized and saved to the session. it is obtained from the session and unserialize is deserialized.
What do you want to save and pass it to other pages? Then you need to store $ list in cookies and sessions, and then transfer it. we will test the TP framework used by LZ.
What do you mean by passing?