<%
t1=Array("190000-240000","000000-142000")
t2=Ftime(time(), "h", "")
for i=0 to Ubound(t1)
<%
t1=Array("190000-240000","000000-142000")
t2=Ftime(time(), "h", "")
for i=0 to Ubound(t1)
<%
re="3019:1"
MyArray = Array(re)
UBound(MyArray)
%>
<%=UBound(MyArray) %>//<%=MyArray(0)%>
======================================
str = Split(str,",")
* {
-webkit-user-select:none;
-moz-user-select:none;
-ms-user-select:none;
user-select:none;
}
input{-webkit-user-select:auto;}
$this->name
的方式来获取数据,请使用$this->getAttr('name')
替代。获取单个数据
查找并更新
通过数组添加数据
模型的数据字段和表字段是对应关系,默认会自动获取,包括字段的类型
自动获取会导致增加一次查询,如果在模型中配置字段信息,会减少内存开销
可以在模型设置$schema 字段,明确定义字段信息,字段需要对应表写完整;在这里插入图片描述
模型会自动对应数据表,模型类的命名规则是除去表前缀的数据表名称,采用驼峰法命名,并且首字母大写。
模型自动对应的数据表名称都是遵循小写+下划线规范,如果你的表名有大写的情况,必须通过设置模型的table属性。
//ios防止连续点击s
var u = navigator.userAgent;
var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端