摘要: http://www.webhek.com/post/html5-input-type.html 阅读全文
posted @ 2017-09-12 14:26 万里冰封 阅读(178) 评论(0) 推荐(0) 编辑
摘要: http://www.w3school.com.cn/html5/html_5_form_input_types.asp 阅读全文
posted @ 2017-09-12 11:48 万里冰封 阅读(365) 评论(0) 推荐(0) 编辑
摘要: 转载,暂未使用,可以借鉴。 出处:http://blog.csdn.net/a13590394462/article/details/73943785 阅读全文
posted @ 2017-09-12 11:35 万里冰封 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 调用TP的save方法更新数据时,如果新数据与数据库中得数据一致, 那么执行M('table')->save(data)方法时,该方法会返回false。现在的需求是,哪怕用户要更新的数据与原数据一致,也要返回成功, 这个功能怎么实现? 首先,更新返回的结果是影响行数,返回0或0以上的整数都是更新成功 阅读全文
posted @ 2017-09-12 10:22 万里冰封 阅读(183) 评论(0) 推荐(0) 编辑