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 | |
set_time_limit(0); | |
//连接 access 数据库 | |
$conn = new com("ADODB.Connection"); | |
$connstr = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" . realpath("a.mdb"); | |
$conn -> Open($connstr); | |
$rs = new com("ADODB.RecordSet"); | |
$sql = "select * from PE_Article"; |
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
// 大家写在评论中吧,代码高亮可以这样写: | |
// ```js | |
// your code | |
// ``` | |
// update: Fri Aug 31 08:39:21 | |
// copyright: https://gist.github.com/3549352 | |
// 加个性能测试:http://jsperf.com/get-dom-s-first-element | |
var util = {}; |
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
/* | |
Library Auto Zhanzuo => A javascript snippet to help you book seats online. | |
Copyright (C) 2012-2013 Glow | |
Includes jQuery | |
Copyright 2011, John Resig | |
Dual licensed under the MIT or GPL Version 2 licenses. | |
http://jquery.org/license | |
Includes Sizzle.js |
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
甲:黝黑锃亮似金刚,水中沉浮吞波澜。有人说江中怪,有人说是葫芦瓢。 | |
二人打赌向前瞧,原来是这奥巴马在河里洗澡。 | |
这映场小诗一首啊,今儿个过春节呢我给您说一段。说这当今社会啊…… | |
(阎罗王、马面登场) | |
阎王爷:秦时明月汉时关 | |
马面:万亿国债钱未还 |
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
echo '<div class="tceformbox">'.K_NEWLINE; | |
echo '<h1>csv转换为xml</h1>'.K_NEWLINE; | |
echo '<form action="transf.php" method="post" enctype="multipart/form-data" id="form_ratingeditor">'.K_NEWLINE; | |
echo '<div class="row">'.K_NEWLINE; | |
echo '<span class="label">'.K_NEWLINE; | |
echo '<label for="file">csv文件:</label>'.K_NEWLINE; | |
echo '</span>'.K_NEWLINE; | |
echo '<span class="formw">'.K_NEWLINE; | |
echo '<input type="file" name="file" id="file" /><br />'.K_NEWLINE; | |
echo '</span>'.K_NEWLINE; |
NewerOlder