-
Notifications
You must be signed in to change notification settings - Fork 0
/
demo_fetch.php
53 lines (44 loc) · 1.16 KB
/
demo_fetch.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?php
/**
* pje - PHP jquery UI editor
*
* @see https://github.com/coyote333666/pje The pje GitHub project
*
* @author Vincent Fortier <coyote333666@gmail.com>
* @copyright 2023 Vincent Fortier
* @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
* @note This program is distributed in the hope that it will be useful - WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
*/
require_once('constant.php');
require_once(FILE_FUNCTION);
$query =
"SELECT *" . PHP_EOL .
"FROM test" . PHP_EOL;
require_once(FILE_QUERY);
?>
<script>
var TabExp = document.getElementById('exptable');
/*
$(TabExp).tableExport({
headers: true,
footers: true,
formats: ['xlsx', 'csv', 'txt'],
filename: 'id',
bootstrap: true,
position: 'bottom',
ignoreRows: null,
ignoreCols: null,
ignoreCSS: '.tableexport-ignore',
emptyCSS: '.tableexport-empty',
trimWhitespace: false,
RTL: false,
sheetname: 'id'
});
*/
$(TabExp).tableExport({
bootstrap: false,
ignoreCols: [4,5]
});
</script>