当前页:<span id="currentPage"></span> 总页数:<span id="totalPage"></span> 总条数:<span id="totalCount"></span> <input id="Button1" type="button" value="首页" onc ...
分类:
其他好文 时间:
2020-07-10 00:39:40
阅读次数:
71
public function ggg(){ $s = $this->cny('122'); echo $s; //壹佰贰拾贰元 } /*** *人民币大写转化;~~~ */ private function cny($ns) { static $cnums = array("零","壹","贰", ...
分类:
其他好文 时间:
2020-07-09 19:44:01
阅读次数:
76
今天做项目是用到了tp的<eq>标签想把用法和大家分享一下首先说清楚public function analysis(){$query = [];$shop = Db::name('shops')->field('id,shop_name')->where('shopStatus=1')->sele ...
分类:
Web程序 时间:
2020-07-09 13:50:58
阅读次数:
219
需求: 有某个文本文件,我们想读取其中某范围内容如100-300行之间的内容,python中文本文件是可迭代对象,我们是否可以使用类似列表切片的方式得到一个100-300行文件内容的生成器? f = open('/var/log/dmesg') f[100:300] # 可以么? 思路: 1、f = ...
分类:
其他好文 时间:
2020-07-08 23:14:53
阅读次数:
73
--登录 登录 /// </summary> /// <param name="uid"></param> /// <param name="pwd"></param> /// <returns></returns> public List<Admin> DengLu(string uid,stri ...
分类:
其他好文 时间:
2020-07-08 15:21:42
阅读次数:
183
<div class="ipt-wrap clearfix"> <label>籍贯:</label> <div class="ipt-r"> <select class="sele-a" name="province"> <option value="0">请选择</option> <volist ...
分类:
其他好文 时间:
2020-07-08 14:58:12
阅读次数:
114
PHP使用array_unique对二维数组去重处理【转】 array_unique函数就是可以处重的,它具备了这个功能了,下面我们一来看一个关于PHP使用array_unique对二维数组去重处理例子。 php 5.2.9 版本增加了array_unique对多维数组的支持,在处理多维数组是需要设 ...
分类:
编程语言 时间:
2020-07-07 20:56:49
阅读次数:
83
原文:https://www.cnblogs.com/zhaixr/p/7069857.html 1、遍历一维数组 var arr1=['aa','bb','cc','dd']; $.each(arr1,function(i,val){ //两个参数,第一个参数表示遍历的数组的下标,第二个参数表示下 ...
分类:
Web程序 时间:
2020-07-07 15:28:18
阅读次数:
98
Evaluate Reverse Polish Notation Evaluate the value of an arithmetic expression in Reverse Polish Notation. Valid operators are +, -, *, /. Each opera ...
分类:
其他好文 时间:
2020-07-07 13:36:17
阅读次数:
47
We have a wooden plank of the length n units. Some ants are walking on the plank, each ant moves with speed 1 unit per second. Some of the ants move t ...
分类:
其他好文 时间:
2020-07-07 10:21:05
阅读次数:
78