나는 codeigniter를 처음 사용하며 가이드를 따라 갔지만 뭔가 빠져있는 것처럼 보입니다. 고객 기록이있는 간단한 데이터베이스가 있습니다. codeigniter의 첫 번째 목표는 모든 고객을 단순하게 나열하는 것입니다.codeigniter 데이터베이스에서 배열 잡아
UR 컨트롤러<table class="table table-bordered table-striped table-highlight" id="invoice-details">
<thead>
<tr>
<th>Work Order ID</th>
<th>Status</th>
<th>Description</th>
</tr>
</thead>
<?php
foreach ($data->result() as $row);?>
<tr class="even gradeC">
<td><a href="/WorkOrders/viewWo/<?php echo $row['id']; ?>">
<?php echo $row['id']; ?></a></td>
<td><?php echo $row['status']; ?></td>
<td><?php echo Logic\System\Lib\Helper::trunc(htmlentities($row['description']), 8); ?></td>
</tr>
<?php endforeach; ?>
</table>
그래서 무엇이 문제입니까? 당신이 얻고있는 결과는 무엇입니까? 예상 결과와 다른 점은 무엇입니까? –