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, if it is tp & nbsp; action & nbsp; $ this-& gt; assign ("How to display the list PHP array on the front-end page
PHP queries database data $ list. volist loops are used when the data is displayed on the foreground. Now you need to upload this array to the front-end page. the array cannot be changed. How to transfer
------ Solution --------------------
If it is in the tp action
$ This-> assign ("list", $ list );
View
------ Solution --------------------
The result serialize is serialized and saved to the session. it is obtained from the session and unserialize is deserialized.
------ Solution --------------------
What do you mean by passing?