上一页 1 2 3 4 5 6 7 8 9 10 ··· 58 下一页
摘要: window7安装不了nodejs解决方法 https://nodejs.org/zh-cn/download/releases 阅读全文
posted @ 2023-03-17 21:48 学无边涯 阅读(54) 评论(0) 推荐(0) 编辑
摘要: 引入DB类 ILLumnate\Support\Facades\DB db查询语句 DB::select("select * from user") db删除语句 DB::delete("delete * from user") db修改语句 DB::update("update set name= 阅读全文
posted @ 2023-03-12 21:10 学无边涯 阅读(102) 评论(0) 推荐(0) 编辑
摘要: 一,查询 引入名字空间 use App\Book; Book::get() Book::find(1) 二,修改 Book->save() 方法 三,删除 Book->delete() 四,增加 Book->create([ 'name'=>'222', ]) 阅读全文
posted @ 2023-03-11 23:09 学无边涯 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 一,php artisan make:migration add_number_to_test_table --table=test 二 php artisan migrate 阅读全文
posted @ 2023-03-09 23:00 学无边涯 阅读(51) 评论(0) 推荐(0) 编辑
摘要: 一,php artisan make:magration create_test_table 命令行 字段如何设置 二,php artisan migrate 命令行 如果出现错误 就添加两行代码 最后成功了 阅读全文
posted @ 2023-03-09 22:12 学无边涯 阅读(44) 评论(0) 推荐(0) 编辑
摘要: 一,路由文件 文章来自 www.96net.com.cn 阅读全文
posted @ 2023-03-08 21:24 学无边涯 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 把 <IfModule mod_rewrite.c> Options +FollowSymlinks -Multiviews RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !- 阅读全文
posted @ 2023-03-01 21:59 学无边涯 阅读(93) 评论(0) 推荐(0) 编辑
摘要: 第一,原始方法 use think\Model; 使用use $user=news User() 缺点,使用一个都要引入在实例化 第二,依赖注入 也要引入use use think\Request; public function test1(Request $request){ var_dump( 阅读全文
posted @ 2023-02-13 00:20 学无边涯 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 第一,下载 下载地址 https://www.capcut.cn/ 第二,剪映安装 安装完毕后,开始创作 导入视频 第三,讲视频按住拖到时间抽位置 文章来自 www.96net.com.cn 阅读全文
posted @ 2023-02-05 20:03 学无边涯 阅读(599) 评论(0) 推荐(0) 编辑
摘要: 一,C:\phpStudy\PHPTutorial\WWW\tp51\thinkphp\library\think 二,App.php文件 /** * 获取应用类库目录 * @access public * @return string */ public function getAppPath() 阅读全文
posted @ 2023-01-29 13:32 学无边涯 阅读(87) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 58 下一页