怎么使用ThinkPHP创建TP5.1项目-创新互联
这篇文章将为大家详细讲解有关怎么使用ThinkPHP创建TP5.1项目,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获。
在前面,我们安装了ThinkPHP之后,那么如何用ThinkPHP开发项目呢?
1、 打开application/index/controller/Index.php,我们可以看到有如下代码。
*{ padding: 0; margin: 0; } div{ padding: 4px 48px;} a{color:#2E5CD5;cursor: pointer;text-decoration: none} a:hover{text-decoration:underline; } body{ background: #fff; font-family: "Century Gothic","Microsoft yahei"; color: #333;font-size:18px;} h2{ font-size: 100px; font-weight: normal; margin-bottom: 12px; } p{ line-height: 1.6em; font-size: 42px }:)
ThinkPHP V5.1
12载初心不改(2006-2018) - 你值得信赖的PHP框架