请告诉我,fancybox 3 插件不打开 docx、rtf 等格式。一个错误:
也许有解决问题的方法?
请告诉我,我通过 htmlspecialchars 显示数据库中的数据,如果数据库中单元格的空值移位:
编码:
<table class="table table-hover table-striped table-icon jus-table-list">
<tr>
<th scope="col">горючее</th>
<th scope="col">дата</th>
</tr>
<tr>
<?php foreach($models23 as $model):?>
<td><?= htmlspecialchars($model['sklad_goruchego'])?></td>
<?php endforeach;?>
<td><?= \Yii::$app->formatter->asDatetime(time(), "php:01.m.Y"); ?></td>
</tr>
<tr>
<?php foreach($models23_1 as $model):?>
<td><?= htmlspecialchars($model['sklad_goruchego'])?></td>
<?php endforeach;?>
<td><?= \Yii::$app->formatter->asDatetime(time(), "php:d.m.Y"); ?></td>
</tr>
</table>