<table class="table table-bordered table-hover">
<?php foreach ($pin_data as $pin) {
?>
<tr>
<td><?php echo $pin->location;?> <?php echo $pin->pincode;?></td>
</tr>
<?php
} ?>
</table>
我从数据库中获取数据。我想在表中显示该数据,但我想连续显示 5 列。之后它从新行开始。请帮忙。