Home >PHP Framework >ThinkPHP >How to query all data in thinkphp5
The first step is to load the project.
The second step is to create a new method hello5_2.
Related recommendations: "ThinkPHP Tutorial"
The third step is to make a comment.
The fourth step is to write the query statement of tp5.
#The fifth step is to write the sql query data table statement in the query statement.
The sixth step is to print out the query results.
The seventh step is to test on the browser.
The above is the detailed content of How to query all data in thinkphp5. For more information, please follow other related articles on the PHP Chinese website!