摘要:JS去掉字符串首尾前后的一个或多个逗号 rps.replace(/^,+/, '').replace(/,+$/, '') 1.数据类型:null和undefined区别? undefined是指原生类型没有定义,而null是指对象没定义. 2.数组声明:['a',3,'hello',true];
阅读全文
09 2017 档案
摘要:JS去掉字符串首尾前后的一个或多个逗号 rps.replace(/^,+/, '').replace(/,+$/, '') 1.数据类型:null和undefined区别? undefined是指原生类型没有定义,而null是指对象没定义. 2.数组声明:['a',3,'hello',true];
阅读全文
摘要:<!DOCTYPE html><html><head> <title>ddd</title></head><body><table border="1"> <thead> <tr colspan="3"> <input type="text" id="filtertxt"> <input type=
阅读全文
摘要:1;关键词 DISTINCT 用于返回唯一不同的值,加了其它的列就可能会失效 语法:SELECT DISTINCT 列名称 FROM 表名称2. GROUP_CONCAT和FIND_IN_SET GROUP_CONCAT 作用是将查到的结果,用指定的符号链接 FIND_IN_SET 作用是将字符串按
阅读全文
摘要:show status; queryies //SQL发生的查询次数 threads_connected //线程连接数 threads_running //正在运行线程数
阅读全文
摘要:通过设置nginx的client_max_body_size解决nginx+php上传大文件的问题: 用nginx来做webserver的时,上传大文件时需要特别注意client_max_body_size这个参数,否则会中断在nginx的请求中,在php中是无法记录到访问的. 一般上传大文件流程:
阅读全文
|