Skip to content
This repository was archived by the owner on Sep 11, 2022. It is now read-only.

Commit 51c2f49

Browse files
committed
Add actual files
1 parent 37686fb commit 51c2f49

File tree

3 files changed

+1777
-0
lines changed

3 files changed

+1777
-0
lines changed

example.php

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<?php
2+
error_reporting(E_ALL ^ E_NOTICE);
3+
require_once 'excel_reader2.php';
4+
$data = new Spreadsheet_Excel_Reader("example.xls");
5+
?>
6+
<html>
7+
<head>
8+
<style>
9+
table.excel {
10+
border-style:ridge;
11+
border-width:1;
12+
border-collapse:collapse;
13+
font-family:sans-serif;
14+
font-size:12px;
15+
}
16+
table.excel thead th, table.excel tbody th {
17+
background:#CCCCCC;
18+
border-style:ridge;
19+
border-width:1;
20+
text-align: center;
21+
vertical-align:bottom;
22+
}
23+
table.excel tbody th {
24+
text-align:center;
25+
width:20px;
26+
}
27+
table.excel tbody td {
28+
vertical-align:bottom;
29+
}
30+
table.excel tbody td {
31+
padding: 0 3px;
32+
border: 1px solid #EEEEEE;
33+
}
34+
</style>
35+
</head>
36+
37+
<body>
38+
<?php echo $data->dump(true,true); ?>
39+
</body>
40+
</html>

example.xls

37 KB
Binary file not shown.

0 commit comments

Comments
 (0)