Home  >  Article  >  Backend Development  >  Some basic usage methods of ThinkPHP

Some basic usage methods of ThinkPHP

零到壹度
零到壹度Original
2018-04-03 16:11:002325browse

This article mainly introduces some basic usage methods of ThinkPHP. The editor thinks it is quite good, so I will share it with you now and give it as a reference. Let’s follow the editor and take a look.

First configure the database information in config.php under the Common/Conf folder


Then create a UserController.class.php under the Controller folder

This is the add.html template to display data, and comes with the if() judgment on ThinkPHP Writing $a eq 5 means $a==5


##Related recommendations:

Summary of the foundation and use of the ThinkPHP framework

Introduction and use of the TP framework

Thinkphp5 Basic usage

The above is the detailed content of Some basic usage methods of ThinkPHP. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn