echo $detail['company']['TotalShares']; ?> </td> </tr> <tr> <th>Block</th> <th>Shares</th> <th>Price</th> <th>Value</th> </tr> <?php for ($i = 0; $i < 10; $i++) { ?> <tr> <td><?php echo $function->roman($i + 1); ?> </td> <td><?php echo $detail['company']['share'][$i]; ?> </td> <td><?php echo $detail['company']['price'][$i]; ?> </td> <td><?php echo round($detail['company']['share'][$i] * $detail['company']['price'][$i], 0); ?> </td> </tr>