摘要:
select:普通查询,同 findAll() 方法 find:取得符合查询条件的一条记录 $list = $Dao->field('username,email')->select(); //查找某个字段 //where 等于 $condition['username'] = 'Admin'; $map['a'] =array('like',array('%thinkphp%',... 阅读全文
摘要:
ThinkPHP 查询数据 select(findAll) 方法 ThinkPHP 查询数据 ThinkPHP 查询数据主要提供以下几类查询: select() select() 是 ThinkPHP 中最常用的普通查询方法,得到的是一个二维数组。findAll() 为 select() 方法的别名 阅读全文
摘要:
desc mysql.user; //查看用户表结构SELECT DISTINCT CONCAT('User: ''',user,'''@''',host,''';') AS query FROM mysql.user; //查看数据库表中用户select * from mysql.user whe 阅读全文
摘要:
简单的基本的sql语句 下列查询寻找雇员数超过 4 的部门的最高和最低薪水: 阅读全文
摘要:
echo str_replace("world","John","Hello world!"); //Hello John!echo strpos("Hello world!","wo"); //6 从前到后查echo strrpos("Hello world!","wo"); //6 查找字符串在 阅读全文
摘要:
网页可见区域宽:document.body.clientWidth 网页可见区域高:document.body.clientHeight 网页可见区域宽:document.body.offsetWidth (包括边线的宽) 网页可见区域高:document.body.offsetHeight (包括 阅读全文
摘要:
row //行 am-form-inline //横着排列间距 am-form-horizontal //竖着间距am-u-sm-offset-2 //偏移量<hr> //线条am-u-sm-centered //居中 跟am-g搭配用am-margin-top //向上外边距am-text-tru 阅读全文
摘要:
oschina在线工具 http://tool.oschina.net/commons?type=5 站长SEO工具 http://tool.chinaz.com/ 360网站测速 http://ce.cloud.360.cn/ 百度加速乐测试 http://jiasule.baidu.com/to 阅读全文
摘要:
声明: 本文档源自 http://www.appinn.com/markdown/ Markdown 语法说明 (简体中文版) / (点击查看快速入门) 概述 宗旨 兼容 HTML 特殊字符自动转换 区块元素 段落和换行 标题 区块引用 列表 代码区块 分隔线 区段元素 链接 强调 代码 图片 其它 阅读全文