- 博客(4)
- 收藏
- 关注
原创 PHP8 注意事项
1、丢弃https://www.php.net/manual/zh/migration80.deprecated.php2、函数默认值function abc($a=1, $b, $c)function abc($a=1, $b=2, $c=3)3、count必须是Countable|array 类型,使用is_countable判断https://www.php.net/manual/zh/function.is-countable.php...
2021-01-11 00:53:19 284
转载 js版的dateAdd与dateDiff
/* 得到日期年月日等加数字后的日期 */ Date.prototype.dateAdd = function(interval,number) { var d = this; var k={'y':'FullYear', 'q':'Month', 'm':'Month', 'w':'Date', 'd':'Date', 'h':'Hours', 'n':'Minutes'
2012-08-31 10:29:03 590
转载 asp如何取得新插入记录的ID(ACCESS库和MSSQL方法不同)
ACCESS库可以这样书写:set rs = server.createobject("adodb.recordset")sql = "select * from tablers.addnewrs("title") = "title"rs("content") = "content"rs.updatenewid = rs("id")rs.closeSQLSERVER用上面
2012-04-19 12:04:01 2229 1
转载 asp 下生成GUID
Function CreateGUID() Dim objTypeLib Set objTypeLib = CreateObject("Scriptlet.TypeLib") If Err.Number<>0 Then Response.Write("alert('服务器限制,无法生成GUID');history.back()") set objTypeL
2010-07-05 09:06:00 464
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人