会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
学无边涯
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
3
4
5
6
7
8
9
10
11
···
59
下一页
2023年3月11日
laravel orm对数据库增删改查
摘要: 一,查询 引入名字空间 use App\Book; Book::get() Book::find(1) 二,修改 Book->save() 方法 三,删除 Book->delete() 四,增加 Book->create([ 'name'=>'222', ])
阅读全文
posted @ 2023-03-11 23:09 学无边涯
阅读(29)
评论(0)
推荐(0)
2023年3月9日
laravel migration 添加字段命令行
摘要: 一,php artisan make:migration add_number_to_test_table --table=test 二 php artisan migrate
阅读全文
posted @ 2023-03-09 23:00 学无边涯
阅读(68)
评论(0)
推荐(0)
laravel migration创建表
摘要: 一,php artisan make:magration create_test_table 命令行 字段如何设置 二,php artisan migrate 命令行 如果出现错误 就添加两行代码 最后成功了
阅读全文
posted @ 2023-03-09 22:12 学无边涯
阅读(67)
评论(0)
推荐(0)
2023年3月8日
laravel路由学习
摘要: 一,路由文件 文章来自 www.96net.com.cn
阅读全文
posted @ 2023-03-08 21:24 学无边涯
阅读(19)
评论(0)
推荐(0)
2023年3月1日
thinkphp 访问路径如何index.php去掉
摘要: 把 <IfModule mod_rewrite.c> Options +FollowSymlinks -Multiviews RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-
阅读全文
posted @ 2023-03-01 21:59 学无边涯
阅读(122)
评论(0)
推荐(0)
2023年2月13日
tp5.1 几种引入对象并且实例化的方法
摘要: 第一,原始方法 use think\Model; 使用use $user=news User() 缺点,使用一个都要引入在实例化 第二,依赖注入 也要引入use use think\Request; public function test1(Request $request){ var_dump(
阅读全文
posted @ 2023-02-13 00:20 学无边涯
阅读(131)
评论(0)
推荐(0)
2023年2月5日
第一天学习 剪映安装和基本功能使用
摘要: 第一,下载 下载地址 https://www.capcut.cn/ 第二,剪映安装 安装完毕后,开始创作 导入视频 第三,讲视频按住拖到时间抽位置 文章来自 www.96net.com.cn
阅读全文
posted @ 2023-02-05 20:03 学无边涯
阅读(653)
评论(0)
推荐(0)
2023年1月29日
tp5.1把application修改命名空间的名称app
摘要: 一,C:\phpStudy\PHPTutorial\WWW\tp51\thinkphp\library\think 二,App.php文件 /** * 获取应用类库目录 * @access public * @return string */ public function getAppPath()
阅读全文
posted @ 2023-01-29 13:32 学无边涯
阅读(115)
评论(1)
推荐(0)
2023年1月12日
tp5.0 配置深入研究
摘要: 1.配置格式 return [ 'name'=>'', 'age'=>'', ]; 2、配置的形式 1、惯例配置 a、惯例配置目录 C:\AppServ\www\tp5\thinkphp\convention.php b、注意: 大家一般不要修改惯例配置 2、应用配置 a、应用配置目录 C:\App
阅读全文
posted @ 2023-01-12 14:39 学无边涯
阅读(84)
评论(0)
推荐(0)
2022年10月16日
Vue带参数的事件对象带参数和事件源调用方法 $event
摘要: <script> export default { data(){ return{ message:0, put1:'96net.com.cn', } }, methods:{ dianji(p,event){ console.log(p); console.log(event); } } } </
阅读全文
posted @ 2022-10-16 20:25 学无边涯
阅读(84)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
11
···
59
下一页
公告