人五人六博客网
导航
  • 首页
  • 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...
    • 829阅读
    • 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; }   解决...
    • 862阅读
    • 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,...
    • 1000阅读
    • 0评论
  • tp5.1 对sqlserver数据库进行备份、恢复备份操作
    • 2022/10/31
    • PHP
    tp5.1 对sqlserver数据库进行备份、恢复备份操作
    //执行备份 $link = Db::connect(数据库配置 array); $link->execute("backup database LKTEST to disk='备份目录/备份文件'"); //恢复备份 $link->execu...
    • 633阅读
    • 0评论
没有更多了~
边栏
热门文章
  • elementUI 中el-table 的 formatter 和 scope template 不能同时存在问题解决办法
    1
    elementUI 中el-table 的 formatter 和 scope template 不能同时存在问题解决办法
    • 2021/10/27
    • 3973阅读
  • ThinkPHP 获取最后一条sql语句
    2
    ThinkPHP 获取最后一条sql语句
    • 2021/9/30
    • 3922阅读
  • Apktool回编译问题:libpng error: Not a PNG file
    3
    Apktool回编译问题:libpng error: Not a PNG file
    • 2022/5/31
    • 3418阅读
  • php获取毫秒时间戳microtime的使用
    4
    php获取毫秒时间戳microtime的使用
    • 2021/9/24
    • 3133阅读
  • MYSQL日期 字符串 时间戳互转
    5
    MYSQL日期 字符串 时间戳互转
    • 2021/9/22
    • 3130阅读
最新评论
    标签
    • 60s 89
    • 每日简报 80
    • windows 2
    • 文字转语音 1
    • deepseek 1
    • contextmenujs 1
    • tp6 1
    • Telnet 1
    • 分词 1
    • sqlserveer 0
    粤ICP备19127209号-1 本站由 Emlog 驱动
    sitemap