This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<title>Demo</title> | |
<script src="http://code.jquery.com/jquery-1.11.2.min.js"></script> | |
</head> | |
<body> | |
<script> | |
$(document).ready(function(){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function http_build_query_without_urlencode($ary = array()){ | |
$newArray = array(); | |
foreach($ary as $key => $val){ | |
$newArray[] = $key . '=' . $val; | |
} | |
return implode('&', $newArray); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// 建立 Excel 欄位編號 | |
function hit1205_excel_col_no_list_gen($end = 'Z', $prefix = ''){ | |
$cols = array(); | |
$len = strlen($end); | |
$a2z = range('A', 'Z'); | |
foreach($a2z as $letter){ | |
$col = $prefix . $letter; | |
$cols[] = $col; |