简单的PHP excel导出功能
tally 9年前 (2015-05-19) 875浏览
header ('Content-type:application/vnd.ms-excel'); header('Content-Disposition:filename=报名信息.xls'); $header = "<!DOCTYPE ...
小码农关注互联网,关注新产品
tally 9年前 (2015-05-19) 875浏览
header ('Content-type:application/vnd.ms-excel'); header('Content-Disposition:filename=报名信息.xls'); $header = "<!DOCTYPE ...
tally 9年前 (2015-03-28) 1868浏览
先看效果: 输入关键词,搜索并地图定位,如没有相关项,可手动拖动标注到指定位置,并获取经纬度。 JS代码: <script type="text/javascript" src="http://api.map.baidu.com...
tally 9年前 (2015-03-24) 2324浏览
先来控制文件: hd3.php <?php defined('InShopNC') or exit('Access Invalid!'); class hd3 extends BaseHomeControl{ public functi...
tally 9年前 (2015-03-16) 606浏览
/* Copyright (c) 2003-2012, CKSource – Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http:...
tally 9年前 (2015-03-16) 1004浏览
<?php /** * extention.func.php 用户自定义函数库 * @author tally * @update 2014-11-21 13:48:04 */ /** * 返回去除html标签和空格...
tally 9年前 (2015-03-14) 5063浏览
$(function(){ var srcList = []; $.each($('img'),function(i,item){ if(item.src) { srcList.push(it...
tally 9年前 (2015-02-11) 1027浏览
$str="你好<我>(爱)[北京]{天安门}"; echo f1($str); //返回你好 echo f2($str); //返回我 echo f3($str); //返回爱 echo f4($str); //返回北...
tally 9年前 (2015-01-12) 1286浏览
先引入微信官方类: <?php class JSSDK { private $appId; private $appSecret; public function __construct($appId, $appSecr...
tally 9年前 (2015-01-09) 2515浏览
上效果: 看代码: /* 日历开始 */ $monthnow=isset($_GET['mon'])?$_GET['mon']:date("n"); $yearnow=isset($_GET['year'])?$_GET['year']...
tally 9年前 (2015-01-06) 791浏览
亲测,可用! /* * 自定义json_encode,防止中文乱码,PHP5.4以下建议使用 * tally 2014-12-23 08:43:06 */ function encode_json($str) { return ur...