人五人六博客网
导航
  • 首页
  • thinkPHP
  • 数据库
  • Linux
  • PHP
  • 前端
  • 杂七杂八
  • 每日简报
  • 浏览器书签
搜索
  1. 首页
  2. 标签
  3. tp
  • tp5.1 Workerman 配置websocket支持wss
    • 2023/6/2
    • thinkPHP
    tp5.1 Workerman 配置websocket支持wss
    protected $socket = 'websocket://0.0.0.0:2346'; //监听协议、地址、和端口 protected $context = [ 'ssl' => [ 'lo...
    • 923阅读
    • 0评论
  • TP5 Indirect modification of overloaded element of think\Collection has no effect
    • 2023/5/18
    • PHP
    TP5 Indirect modification of overloaded element of think\Collection has no effect
    在tp5中对查询的数据进行赋值是出现这个问题 $data=Db::name("user")->select(); foreach($data as $k => $v){ $data[$k]['num']=$k+1; }   解决...
    • 924阅读
    • 0评论
  • tp5 数据表字段为逗号分隔的字符串,查询该字段中是否包含某个值
    • 2023/4/19
    • thinkPHP
    tp5 数据表字段为逗号分隔的字符串,查询该字段中是否包含某个值
    例:数据表cid字段为1,2,34,5,6,7,8,9,10,11 需求:需要查询cid为1的数据 解决:使用find_in_set(查找值,字段名) Db::table('think_user') ->where('find_in_set(1,...
    • 1081阅读
    • 0评论
  • tp5.1 对sqlserver数据库进行备份、恢复备份操作
    • 2022/10/31
    • PHP
    tp5.1 对sqlserver数据库进行备份、恢复备份操作
    //执行备份 $link = Db::connect(数据库配置 array); $link->execute("backup database LKTEST to disk='备份目录/备份文件'"); //恢复备份 $link->execu...
    • 719阅读
    • 0评论
没有更多了~
边栏
热门文章
  • TP5执行插入/更新语句报The active result for the query contains no fields.
    1
    TP5执行插入/更新语句报The active result for the query contains no fields.
    • 2022/10/26
    • 12429阅读
  • composer报错:A temporary file could not be opened to write the process output:  fopen(C:\Users\ADMINI~1\AppData\Local\Temp\2\sf_proc_00.out.lock): failed to open stream: No such file or directory
    2
    composer报错:A temporary file could not be opened to write the process output: fopen(C:\Users\ADMINI~1\AppData\Local\Temp\2\sf_proc_00.out.lock): failed to open stream: No such file or directory
    • 2022/2/23
    • 10305阅读
  • Apktool回编译问题:libpng error: Not a PNG file
    3
    Apktool回编译问题:libpng error: Not a PNG file
    • 2022/5/31
    • 6435阅读
  • elementUI 中el-table 的 formatter 和 scope template 不能同时存在问题解决办法
    4
    elementUI 中el-table 的 formatter 和 scope template 不能同时存在问题解决办法
    • 2021/10/27
    • 4287阅读
  • ThinkPHP 获取最后一条sql语句
    5
    ThinkPHP 获取最后一条sql语句
    • 2021/9/30
    • 4098阅读
最新评论
    标签
    • 60s 89
    • 每日简报 80
    • windows 2
    • 文字转语音 1
    • deepseek 1
    • contextmenujs 1
    • tp6 1
    • Telnet 1
    • 分词 1
    • sqlserveer 0
    粤ICP备19127209号-1 本站由 Emlog 驱动
    sitemap