首先在Common/Conf文件夹下的config.php配置数据库信息

然后在Controller文件夹下创建一个UserController.class.php

这是add.html模版展示数据,并附带在ThinkPHP上的if()判断写法 $a eq 5 表示 $a==5

相关推荐:
ThinkPHP框架总结之基础及使用
以上就是关于ThinkPHP的一些基础使用方法的详细内容,更多请关注Gxl网其它相关文章!
首先在Common/Conf文件夹下的config.php配置数据库信息

然后在Controller文件夹下创建一个UserController.class.php

这是add.html模版展示数据,并附带在ThinkPHP上的if()判断写法 $a eq 5 表示 $a==5

相关推荐:
ThinkPHP框架总结之基础及使用
以上就是关于ThinkPHP的一些基础使用方法的详细内容,更多请关注Gxl网其它相关文章!