上一页 1 2 3 4 5 6 7 8 9 10 ··· 21 下一页
摘要: var data = [{ url: "#", icon: "fa fa-dashboard", name: "Dashboard", children: [{ url: "index.html", icon: "fa fa-circle-o", name: "Dashboard v1" }, { 阅读全文
posted @ 2019-08-23 16:43 yahn~ 阅读(200) 评论(0) 推荐(0) 编辑
摘要: <!-- <meta charset="utf-8"><div style="overflow: hidden;width: 30px;height: 20px;"> 看不见的部分</div> --><!DOCTYPE html><html><head> <meta charset="utf-8"> 阅读全文
posted @ 2019-08-23 15:55 yahn~ 阅读(574) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html><head> <meta charset="utf-8"> <title>jquery控制是否显示</title> <script type="text/javascript" src="http://cdn.bootcss.com/jquery/2.1.4 阅读全文
posted @ 2019-08-23 15:51 yahn~ 阅读(1087) 评论(0) 推荐(0) 编辑
摘要: ➜ bin /Applications/MAMP/Library/bin/mysql -u root -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection i 阅读全文
posted @ 2019-07-31 17:04 yahn~ 阅读(130) 评论(0) 推荐(0) 编辑
摘要: ➜ my_project git:(master) ✗ php bin/console make:controller BrandNewController created: src/Controller/BrandNewController.php created: templates/brand 阅读全文
posted @ 2019-07-31 14:24 yahn~ 阅读(284) 评论(0) 推荐(0) 编辑
摘要: 实用unrar来解压缩,命令如下: 1, 用homebrew安装unrar brew install unrar 2,安装成功拖入压缩文件 ➜ htdocs git:(master) ✗ unrar x /Users/aidong/Downloads/scedm.rar UNRAR 5.71 fre 阅读全文
posted @ 2019-07-30 12:02 yahn~ 阅读(522) 评论(0) 推荐(0) 编辑
摘要: symfony框架第一次用,由于官方文件是英语的,其他都是一些千篇一律的博客,因此作以下记录: 首先这个框架要根据官网提供的命令下载symfony的服务器,提供之后下载源码,放在自己服务器根目录。 比如我下载的是4.43版本的。然后cd到框架代码的根目录: cd my_project; 控制器的文件 阅读全文
posted @ 2019-07-29 18:39 yahn~ 阅读(293) 评论(0) 推荐(0) 编辑
摘要: function test(){ $id = request()->route('id');//接收id参数 //更新数据 $id = 4; $age = Db::table("users")->where("user_id","=",$id)->update(['user_name'=>'用户名' 阅读全文
posted @ 2019-07-25 16:43 yahn~ 阅读(359) 评论(0) 推荐(0) 编辑
摘要: <?php namespace App\Http\Controllers; use Illuminate\Http\Request;use DB;class UserController extends Controller{ function index(){ $msg['status'] = ' 阅读全文
posted @ 2019-07-25 15:44 yahn~ 阅读(949) 评论(0) 推荐(0) 编辑
摘要: 刚才配置了数据库链接代码之后发现怎么也连不上,是因为有两个文件 .env和.envexample文件,注意配置参数要在.env文件里面,比如我用mysql的话配置.env里 这么一段: DB_CONNECTION=mysqlDB_HOST=localhostDB_PORT=8889DB_DATABA 阅读全文
posted @ 2019-07-24 17:09 yahn~ 阅读(1128) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 21 下一页