Who has the SESSION usage and code posted for reference ~~~ Thank you for learning PHP recently .. I made a small news system myself .... that's the part of the poor user permission .... I learned about the session .. then I wrote a bit .. none of them work .. the output cannot be printed during cross-file calling .. I hope someone can post the SESSION code for my reference .. which of the following statements about SESSION usage and code are recommended for reference ~~~ Thank you.
I recently learned PHP .. I made a small news system myself .... that's the part of the poor user permission .... I learned about the session .. then I wrote a bit .. none of them work .. the output cannot be printed during cross-file calling .. I hope someone can post the SESSION code for my reference .. it is best to paste the code of several more files .....
------ Solution --------------------
1. php
PHP code
Please click the second page