Folder reorganize 1
This commit is contained in:
36
OLD/bigsheet.php
Normal file
36
OLD/bigsheet.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php // phpcs:ignoreFile
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
require_once __DIR__ . '/excel_reader2.php';
|
||||
|
||||
$data = new Spreadsheet_Excel_Reader(
|
||||
'I:/htdocs/lasuca/controls/milllab/2023 MILLLABREPORT/CROP DAY 40/cropday40milllab.xlsx'
|
||||
);
|
||||
|
||||
ob_start();
|
||||
$tableHtml = $data->dump(false, false, 0, 'excel');
|
||||
$rendered = ob_get_clean();
|
||||
?>
|
||||
|
||||
<div class="table-scroll">
|
||||
<style>
|
||||
.excel {
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
font-family: var(--font-family, 'Inter', sans-serif);
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
.excel th,
|
||||
.excel td {
|
||||
border: 1px solid var(--border-subtle, #cbd5f5);
|
||||
padding: 0.35rem 0.5rem;
|
||||
text-align: center;
|
||||
}
|
||||
.excel thead th {
|
||||
background-color: rgba(15, 23, 42, 0.06);
|
||||
color: var(--text-strong, #111827);
|
||||
}
|
||||
</style>
|
||||
<?php echo $rendered; ?>
|
||||
</div>
|
||||
Reference in New Issue
Block a user