摘要: 1.在输入input时会提示原来输入过的内容,还会出现下拉的历史记录,禁止这种情况只需在input中加入:autocomplete=“off” <input type="text" autocomplete="off" /> 2.防止退后清空的TEXT文档(可把style内容做做为类引用) <inp 阅读全文
posted @ 2020-05-22 11:48 时刹之空 阅读(773) 评论(0) 推荐(0)
摘要: MySQL的的查询结果行字段拼接,可以用下面两个函数实现: 1. concat函数 mysql> select concat('1','2','3') from test ; + + | concat('1','2','3') | + + | 123 | + + 2. concat_ws函数conc 阅读全文
posted @ 2020-05-22 09:23 时刹之空 阅读(3661) 评论(0) 推荐(0)
摘要: /** * 模拟post进行url请求 * @param string $url * @param array $post_data */ function request_post($url = '', $post_data = array()) { if (empty($url) || empt 阅读全文
posted @ 2020-05-22 09:19 时刹之空 阅读(1089) 评论(0) 推荐(0)