会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
谁喝了我的酸奶
酸奶是我的,不许偷偷喝
博客园
首页
新随笔
管理
订阅
上一页
1
2
3
4
5
6
下一页
2021年9月14日
PHP 数据库连接 - mysql和mysqli
摘要: 一、理解 mysql与mysqli都是PHP语言使用数据库的函数。 在php5版本之前,一般是用php的mysql函数去驱动mysql数据库的,如mysql_query()的函数,属于面向过程。 在php5版本以后,增加了mysqli的函数功能,某种意义上,它是mysql系统函数的增强版,更为稳定高
阅读全文
posted @ 2021-09-14 18:37 邈宇
阅读(257)
评论(0)
推荐(0)
2021年8月23日
PHP 数学函数
摘要: BC高精度数学函数 加:bcadd(左操作数,右操作数,保留小数位) echo bcadd(12.333,0.01,2); 减:bcsub(左操作数,右操作数,保留小数位) echo bcsub(12.333,0.01,2); 乘:bcmul(左操作数,右操作数,保留小数位) echo bcmul(
阅读全文
posted @ 2021-08-23 17:32 邈宇
阅读(41)
评论(0)
推荐(0)
2021年8月3日
安装tp6项目,初始显示“该网页无法正常运作”,没有显示报错内容
摘要: 版本:PHP版本7.1.7;项目thinkphp6.0.9问题:访问时报错“该网页无法正常运作 找到问题:PHP配置文件php.ini找到以下两个配置项修改为On,并予重启php display_errors = Off 修改 display_errors = On display_startup_
阅读全文
posted @ 2021-08-03 15:08 邈宇
阅读(1057)
评论(0)
推荐(0)
centos7 PHP7 swoole安装
摘要: Swoole扩展是按照PHP标准扩展构建的。使用phpize来生成编译检测脚本,./configure来做编译配置检测,make进行编译,make install进行安装 先选择存放包目录,获取安装包 进入目录:cd /usr/local/src/ 获取安装包: wget -O Swoole-4.4
阅读全文
posted @ 2021-08-03 14:21 邈宇
阅读(121)
评论(0)
推荐(0)
2021年7月30日
Composer 版本
摘要: 安装tp6时出现Composer 版本问题: Warning from https://repo.packagist.org: Support for Composer 1 is deprecated and some packages will not be available. You shou
阅读全文
posted @ 2021-07-30 18:05 邈宇
阅读(450)
评论(0)
推荐(0)
关于Centos7.3防火墙
摘要: 基本使用 查看firewall服务状态 systemctl status firewalld 查看 firewall的状态 firewall-cmd --state 开启、重启、关闭 firewalld.service服务 # 开启 service firewalld start # 重启 serv
阅读全文
posted @ 2021-07-30 16:59 邈宇
阅读(47)
评论(0)
推荐(0)
2021年4月6日
mysql 字段操作
摘要: 表user: + + + + + +| id | name | sex | age | score+ + + + + +| 1 | test1| 女 | 25 | 91.6+ + + + + +| 2 | test2| 男 | 26 | 91.4+ + + + + + 1、 运算 select id
阅读全文
posted @ 2021-04-06 18:51 邈宇
阅读(45)
评论(0)
推荐(0)
2021年3月30日
html转图片
摘要: <div id="generateContainer"> <div class="content"> <div class="content-item gray title">基本信息</div> <div class="content-item"> <div class="label">属相</d
阅读全文
posted @ 2021-03-30 16:11 邈宇
阅读(191)
评论(0)
推荐(0)
2021年3月26日
php 导出大量数据到数据表示例
摘要: $field = 'aunt_id,pay_time,out_trade_no,self_name,store_city,phone,bond_money,id_card_num'; $data = Db::table('aunt')->field($field)->select(); $head
阅读全文
posted @ 2021-03-26 15:11 邈宇
阅读(91)
评论(0)
推荐(0)
2021年1月28日
MySQL查询数据 使用IF来判断动态执行条件
摘要: MySQL查询数据,使用IF来判断动态执行条件 格式IF(expression ,expr_true, expr_false); MySQL的IF()函数,接受三个表达式,如果第一个表达式为true,而不是零且不为NULL,它将返回第二个表达式。否则,它返回第三个表达式。根据使用它的上下文,它返回数
阅读全文
posted @ 2021-01-28 14:44 邈宇
阅读(3776)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
下一页
公告