【发布时间】:2022-06-14 16:39:52
【问题描述】:
日期下的第 4 列也与日期
02-06-2022相同。因此,此表包含 2 个绩效评估日期。
这是一个html代码示例
<table class="table table-border-black table-hover table-striped table-scrollable" style="color: #000;">
<thead>
<tr>
<th rowspan="3" class="text-center bold">No. </th>
<th rowspan="3" class="text-center bold">Staff Name</th>
<th colspan="4" class="text-center bold">
Performance Assessment<br /><span class="small">( <?php echo $filter['year']; ?> )</span></th>
</tr>
<?php
foreach($ListPerformance as $key2 => $value2) {
foreach ($value2 as $key => $value) {
?>
<?php
if (!empty($value['assessment_period_start'])) {
echo '<tr><th colspan="4" class="text-center">'.$value['assessment_period_start'].'</th></tr>';
}
?>
<tr>
<th class="text-center">Submit</th>
<th class="text-center">Application Status</th>
<?php
if ($_SESSION[AppName]['usergroup'] == 1){
echo '<th class="text-center">Admin</th>';
}
?>
<th class="text-center">Reset By</th>
</tr>
<?php
}
}
?>
</thead>
<tbody></tbody></table>
【问题讨论】:
-
请澄清您的具体问题或提供其他详细信息以准确突出您的需求。正如目前所写的那样,很难准确地说出你在问什么。