会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
79524795
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
26
27
28
29
30
31
下一页
2021年1月5日
TP5 跳转 判断成功错误
摘要: 1. use think\Controller; 2. class Index extends Controller 3. $this->success('添加成功', url('img')); $this->success('添加成功', url('/index/index/img')); 应用/
阅读全文
posted @ 2021-01-05 18:51 79524795
阅读(105)
评论(0)
推荐(0)
2020年12月29日
input传值 问题
摘要: readonly disabled <input class="form-control" value="{$_GET['id']}" id="cate_name" placeholder="" name="id" required="" type="text" readonly > 能传值 <in
阅读全文
posted @ 2020-12-29 15:28 79524795
阅读(303)
评论(0)
推荐(0)
A标签传值
摘要: img.php页面 传值到updata页面 : {volist name="data" id="item"} <tr> <td align="center">{$item.id}</td> <td align="center">{$item.user}</td> <td align="center"
阅读全文
posted @ 2020-12-29 14:49 79524795
阅读(157)
评论(0)
推荐(0)
TP5数据库操作
摘要: 添加数据 user 是表的 一个列 pwd 也是表的一个列 $re= ['user'=>$data['user'], 'pwd'=>$data['pwd']]; $r= Db::table('dyg')->insert($re); echo $r ;
阅读全文
posted @ 2020-12-29 11:30 79524795
阅读(67)
评论(0)
推荐(0)
微擎表
摘要: ims_modules所有模块的名字 也就是模块信息 表
阅读全文
posted @ 2020-12-29 10:45 79524795
阅读(57)
评论(0)
推荐(0)
2020年12月28日
TP5 教程持续更新中
摘要: TP5.1下载用composer下载,如果下载太慢,请用阿里云镜像: composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/ composer下载命令: composer create-proje
阅读全文
posted @ 2020-12-28 14:29 79524795
阅读(154)
评论(0)
推荐(0)
2020年12月21日
微擎增删改查
摘要: 1.增 //$result = pdo_insert($tablename,$data=array(),$replace=false); 把creat_time 的默认值 写成 CURRENT_TIMESTAMP 类型是timestamp。添加数据的时候自动生成creat_time 。不用写添加cr
阅读全文
posted @ 2020-12-21 16:49 79524795
阅读(299)
评论(0)
推荐(0)
2020年12月17日
SQL的高级属性-
摘要: 1.创建唯一属性的字段名(不是主键也可以添加 如下:) 创建查询 : ALTER TABLE `表名` ADD UNIQUE (`字段名`) 2.creat_time 自动生成 把creat_time 的默认值 写成 CURRENT_TIMESTAMP 类型是timestamp。添加数据的时候自动生
阅读全文
posted @ 2020-12-17 10:56 79524795
阅读(130)
评论(0)
推荐(0)
2020年11月24日
查询
摘要: SELECT * FROM `t_tb_youxuan` where id >1 and id <1000 and cate like '%女%' ORDER BY id asc LIMIT 30 表名 条件1 条件2 模糊查询 by-id的 倒序 截取从1到20条 select * from tm
阅读全文
posted @ 2020-11-24 18:46 79524795
阅读(66)
评论(0)
推荐(0)
SQL语句
摘要: 1增 1.1【插入单行】 insert [into] <表名> (列名) values (列值) 例:insert into Strdents (姓名,性别,出生日期) values ('开心朋朋','男','1980/6/15') 1.2【将现有表数据添加到一个已有表】 insert into <
阅读全文
posted @ 2020-11-24 17:48 79524795
阅读(98)
评论(0)
推荐(0)
上一页
1
···
26
27
28
29
30
31
下一页
公告