- 博客(5)
- 资源 (2)
- 收藏
- 关注
原创 禁止表单输入中文(禁止粘贴)
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml">无标题文档function isChinese(temp) { var re = /[\u4e00-\u9fa5]+/; if(re.test(temp.value)){ alert(
2013-01-22 11:25:42 911
原创 formValidator 验证是否为空,允许空格的方法
调用方法,举例:$("#ucompany").formValidator({onShowFixText:"请输入公司名称",onShow:"请输入公司名称",onCorrect:"输入正确"}).inputValidator({ min:1,empty:{leftEmpty:true,rightEmpty:true,emptyError:""},onError:"请输入公司名称
2013-01-21 20:20:41 6517
原创 mysql 记录集合并,UNION 用法
(SELECT a FROM tbl_name WHERE a=10 AND B=1) UNION(SELECT a FROM tbl_name WHERE a=11 AND B=2)ORDER BY a LIMIT 10;
2013-01-08 19:58:13 1854
原创 mysql中 where in 用法详解
这里分两种情况来介绍1、in 后面是记录集,如:select * from table where uname in(select uname from user); 2、in 后面是字符串,如:select * from table where uname in('aaa',bbb','ccc','ddd','eee',ffff'');
2013-01-08 19:49:47 183648 8
原创 php 的 in_array 的用法
<?php$people = array("Peter", "Joe", "Glenn", "Cleveland");if (in_array("Glenn",$people)) { echo "找到了"; }else { echo "没找到"; }?>输出:找到了
2013-01-07 12:40:05 1267
微信公众平台企业号token验证接口、回调 PHP版(完整案例)
2014-10-21
微信公众平台企业号接口token验证、回调 PHP版(完整案例)
2014-10-21
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人