摘要: $(document).ready(function(){ var ok1 = false; var ok2 = false; var ok3 = false; var ok4 = false; $('#title').focus(function(){ $(this).next().text('请 阅读全文
posted @ 2018-02-28 14:05 未解 阅读(128) 评论(0) 推荐(0) 编辑
摘要: class A{ protected $Num1; protected $Num2; public $result; public function getNum1(){ return $this->Num1; } public function setNum1($Num1){ return $th 阅读全文
posted @ 2018-02-28 14:03 未解 阅读(180) 评论(0) 推荐(0) 编辑
摘要: SELECT id AS kid, NAME, IF (t1.kpi, t1.kpi, 0) AS kpi, t1.sort, STATUS, t1.kpi_idFROMform_kpi_nameLEFT JOIN ( SELECT kpi_id AS i, kpi, sort, username, 阅读全文
posted @ 2017-10-25 10:37 未解 阅读(1696) 评论(0) 推荐(0) 编辑
摘要: CREATE FUNCTION `ge3`(st int,type int) RETURNS varchar(200) CHARSET utf8begin declare result varchar(200) default '' ; declare i int; set result=0; se 阅读全文
posted @ 2017-10-12 10:43 未解 阅读(139) 评论(0) 推荐(0) 编辑
摘要: CREATE PROCEDURE `g2`( in sts int,in type int, code varchar(20),in s int)begin declare i int; declare a int; declare b int; declare t varchar(20) defa 阅读全文
posted @ 2017-10-12 10:42 未解 阅读(93) 评论(0) 推荐(0) 编辑
摘要: public function tes(){ $a = 'abcd12345ed125ss123456789988888'; $pattern = '/[\D]+/'; $numberStrs = preg_split($pattern, $a, null, PREG_SPLIT_NO_EMPTY) 阅读全文
posted @ 2017-09-20 17:36 未解 阅读(268) 评论(0) 推荐(0) 编辑
摘要: delete from test where id not in ( select a.id from (select min(id) as id from test group by form_id ) as a ) 一百天记录 SELECT *FROM table_name where date 阅读全文
posted @ 2017-09-20 17:34 未解 阅读(251) 评论(0) 推荐(0) 编辑
摘要: function text($fp,$n,$b=5) { if($n>0){ $p = $n+1; $lines = array(); while(count($lines)< =$n){ try{ /SEEK_END - 设定位置为文件末尾加上 要移动到文件尾之前的位置,offset 必须是一个负 阅读全文
posted @ 2017-03-10 00:25 未解 阅读(311) 评论(0) 推荐(0) 编辑
摘要: 一 安装BeautifulSoup 安装Python的包管理器pip 然后运行 $pip3 install beautifulsoup 在终端里导入它测试下是否安装成功 >>>from bs import BeautifulSoup 如果没有错误,说明导入成功了 简单例子 http://sc.chi 阅读全文
posted @ 2016-12-04 00:15 未解 阅读(302) 评论(0) 推荐(0) 编辑
摘要: Python中大多数系统接口都集中在两个模块:sys和os.这么说有点过于简单化 还有一些其他的表转模块也属于这个领域他们包括: glob 用于文件名的扩展 socket 用于网络连接和进程间通信(IPC) threading,_threading,queue 用于运行和同步话并发线程 time,t 阅读全文
posted @ 2016-12-03 22:35 未解 阅读(446) 评论(0) 推荐(0) 编辑