列名'; echo $html; static $i = 600000; static $j = 0; if ($newcon) { if (mysql_select_db("db", $newcon)) { for($i;$i'; } $j++; if($j> 20){die ('ok');} .... ...
分类:
数据库 时间:
2017-06-10 16:53:52
阅读次数:
211
准备工作 1.NodeMCU模块 2.ESP8266Flasher.exe 3.ESPlorer v0.2.0-rc6 构建固件 Building the firmware提供了三种构建你自己固件的方式。 这里推荐使用简单的云构建服务NodeMCU custom builds来定制自己的固件,只需要 ...
分类:
Web程序 时间:
2017-06-10 12:29:46
阅读次数:
406
改为post后,如果乱码后,可以加上 request.setCharacterEncoding("UTF-8"); jsp页面调用将会变得非常简单 ...
分类:
编程语言 时间:
2017-06-09 15:12:09
阅读次数:
144
总括 PHP数据类型包括8种:其中包括四种标量类型、两种复合类型和两种特殊类型。具体是:字符串、整数、浮点数、布尔、数组、对象、NULL、资源 如果想查看某个表达式的值和类型,可以使用函数var_dump() 布尔型 布尔型是最简单的类型。boolean表达了真值,可以为TRUE或FALSE 要指定 ...
分类:
Web程序 时间:
2017-06-08 23:38:45
阅读次数:
667
Service绑定模式 使用绑定的Service能够实现组件与Service的通信。 组件与被绑定的Service能够不归属于同一个应用程序。因此通过绑定Service能够实现进程间通信。 调用bindService(Intent service,ServiceConnectionconn,int ...
分类:
其他好文 时间:
2017-06-08 19:40:24
阅读次数:
219
ajax(Asynchronous Javascript and XML)异步javascrip和XMl. ajax只是一种web交互方法。在客户端(浏览器)和服务区段之间传输少量的信息。从而为用户提供及时的响应。 在传统的web应用程序中,浏览器本身负责初始化到服务区的请求,并处理来自服务器的响应 ...
分类:
Web程序 时间:
2017-06-08 18:50:14
阅读次数:
219
Time Limit: 3000MS Memory Limit: 30000K Total Submissions: 1020 Accepted: 407 Description Yoko's math homework today was to calculate areas of polygon ...
分类:
其他好文 时间:
2017-06-08 16:36:07
阅读次数:
233
一、Mybatis介绍: MyBatis是一个支持普通SQL查询,存储过程和高级映射的优秀持久层框架。MyBatis消除了几乎所有的JDBC代码和参数的手工设置以及对结果集的检索封装。MyBatis可以使用简单的XML或注解用于配置和原始映射,将接口和Java的POJO(Plain Old Java ...
分类:
其他好文 时间:
2017-06-08 13:59:27
阅读次数:
273
device = mr.waitForConnection(1,deviceName) 当使用waitForConnection时,不管设备是否连接,device总是返回一个对象,所以没有办法通过 if not device:来准确判断设备是否真的连接成功; 解决的办法是: try: device ...
分类:
编程语言 时间:
2017-06-08 13:13:53
阅读次数:
159
Given an unsorted array of integers, find the length of longest increasing subsequence. For example,Given [10, 9, 2, 5, 3, 7, 101, 18],The longest inc ...
分类:
其他好文 时间:
2017-06-08 13:09:04
阅读次数:
205