摘要:
window7安装不了nodejs解决方法 https://nodejs.org/zh-cn/download/releases 阅读全文
摘要:
引入DB类 ILLumnate\Support\Facades\DB db查询语句 DB::select("select * from user") db删除语句 DB::delete("delete * from user") db修改语句 DB::update("update set name= 阅读全文
摘要:
一,查询 引入名字空间 use App\Book; Book::get() Book::find(1) 二,修改 Book->save() 方法 三,删除 Book->delete() 四,增加 Book->create([ 'name'=>'222', ]) 阅读全文
摘要:
一,php artisan make:migration add_number_to_test_table --table=test 二 php artisan migrate 阅读全文
摘要:
一,php artisan make:magration create_test_table 命令行 字段如何设置 二,php artisan migrate 命令行 如果出现错误 就添加两行代码 最后成功了 阅读全文
摘要:
一,路由文件 文章来自 www.96net.com.cn 阅读全文
摘要:
把 <IfModule mod_rewrite.c> Options +FollowSymlinks -Multiviews RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !- 阅读全文
摘要:
第一,原始方法 use think\Model; 使用use $user=news User() 缺点,使用一个都要引入在实例化 第二,依赖注入 也要引入use use think\Request; public function test1(Request $request){ var_dump( 阅读全文
摘要:
第一,下载 下载地址 https://www.capcut.cn/ 第二,剪映安装 安装完毕后,开始创作 导入视频 第三,讲视频按住拖到时间抽位置 文章来自 www.96net.com.cn 阅读全文
摘要:
一,C:\phpStudy\PHPTutorial\WWW\tp51\thinkphp\library\think 二,App.php文件 /** * 获取应用类库目录 * @access public * @return string */ public function getAppPath() 阅读全文