会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
键盘车手
键盘车手是指在键盘上面开车
博客园
首页
新随笔
联系
订阅
管理
2021年2月18日
The Process class relies on proc_open(安装thinkphp5.1出错)
摘要: 安装thinkphp5.1出错,显示 The Process class relies on proc_open, which is not available on your PHP installation 出现这样的原因是因为php.ini禁用了一个函数,即proc_open ,找到php.i
阅读全文
posted @ 2021-02-18 18:41 chome
阅读(799)
评论(0)
推荐(0)
2020年7月22日
thinkphp5.1数据操作-修改(更新)
摘要: thinkphp5.1数据操作-修改(更新) 更新数据: $up_file=Db::name('表名称')->where(['hid'=>$w_hid,'id'=>$w_fileid])->data([ 'up_time'=>time(), 'status'=>'del', 'note'=>'用户删
阅读全文
posted @ 2020-07-22 15:02 chome
阅读(1318)
评论(0)
推荐(0)
thinkphp5.1数据操作-查询
摘要: thinkphp5.1数据操作-查询 $result=Db::name('表名称')->field('需要查询的字段')->where(['条件])->select(); Db::name和 Db::table 的区别是 Db::name 只是需要填写表名称即可(如果表有前缀) Db::table
阅读全文
posted @ 2020-07-22 15:01 chome
阅读(522)
评论(0)
推荐(0)
thinkphp5.1数据操作-删除
摘要: thinkphp5.1数据操作-删除
阅读全文
posted @ 2020-07-22 14:59 chome
阅读(277)
评论(0)
推荐(0)
thinkphp5.1数据操作-增加
摘要: thinkphp5.1数据操作-增加 $data = [ '字段'=>值, '字段2'=>值2, '字段3' =>值3 ]; Db::name('表名')->insertGetId($data); //写入日志到数据库里面去
阅读全文
posted @ 2020-07-22 14:57 chome
阅读(529)
评论(0)
推荐(0)
thinkphp5.1初始化-安装
摘要: thinkphp5.1数据操作-查询
阅读全文
posted @ 2020-07-22 14:56 chome
阅读(176)
评论(0)
推荐(0)
php的数组追加和合并
摘要: 如果把一个二维数组合并成一个一维数组,比如 $one=array( array('name'=>'lisa','pass'=>'123'), array('name'=>'wangwu','pass'=>'456') ); //最后需要的数组是这样的 $over=array( 'name'=>'li
阅读全文
posted @ 2020-07-22 14:54 chome
阅读(1180)
评论(0)
推荐(0)
thinkphp5.1使用phpspreadsheet
摘要: PHPExcel官网已经不更新了,现在高级版本(或者更新版本)PhpSpreadsheet。PhpSpreadsheet是一个用纯PHP编写的库,并引入了命名空间,PSR规范等。这里简单介绍下PhpSpreadsheet的导入导出功能。 tp51是需要用使用composer安装,命令行进入到网站根目
阅读全文
posted @ 2020-07-22 14:40 chome
阅读(926)
评论(1)
推荐(0)
从lj的csdn搬到这里了
摘要: 凭着自己累计的用户和数据种种作死,看他几时倒闭,都没搞清楚是用户的数据,不是它的数据! 打开一个BBS居然在广告里面找内容。。。 我也是心大,居然还充了一个会员,我擦。。。。智商真是被猪吃了
阅读全文
posted @ 2020-07-22 14:37 chome
阅读(176)
评论(0)
推荐(0)
公告