03 2016 档案

THINKPHP导入全部post参数
摘要:@extract($_POST);//导入全部POST参数直接使用变量 阅读全文

posted @ 2016-03-27 11:53 HOT SUMMER 阅读(405) 评论(0) 推荐(0) 编辑

thinkphp 表单一些
摘要:<tr class="tr rt"> <td colspan="4" class="lt"> <select name="hylbid"> <option value="0">前选择</option> <volist name="hangye" id="hangye"> <option value= 阅读全文

posted @ 2016-03-25 14:51 HOT SUMMER 阅读(233) 评论(0) 推荐(0) 编辑

随机唯一不重复
摘要:public static int GetRandomSeed() { byte[] bytes = new byte[4]; System.Security.Cryptography.RNGCryptoServiceProvider rng = new System.Security.Cryptography.RN... 阅读全文

posted @ 2016-03-24 11:51 HOT SUMMER 阅读(186) 评论(0) 推荐(0) 编辑

TP关联模型
摘要:array( 'mapping_type'=>BELONGS_TO, 'foreign_key'=>'rid', //主表在中间表中的关联字段名称 就是Expertise表的外键 'relation_key'=>'id'... 阅读全文

posted @ 2016-03-18 10:08 HOT SUMMER 阅读(264) 评论(0) 推荐(0) 编辑

PHP函数之类
摘要:if(isset($_POST['dosubmit'])) { } 打散 $array_urls = explode("\r\n",$inurl_str); foreach ($array_urls as $key => $value) { } 大小写 strtolower() 统计 if(count($data) $value) ... 阅读全文

posted @ 2016-03-16 09:27 HOT SUMMER 阅读(538) 评论(0) 推荐(0) 编辑

MSSQLid清零
摘要:truncate table [cellphone2016].[dbo].[tp_phone_9] 阅读全文

posted @ 2016-03-09 20:49 HOT SUMMER 阅读(304) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

导航

统计

点击右上角即可分享
微信分享提示