Here's my problem. I want to be able to buffer only the contents of the tables but not the header. Is it possible to pause the output buffering in php so that I could skip the buffering on the table headers and resume again at the beginning of the actual content?
<?php ob_start(); ?>
<table>
<tr>
<th>Account</th>
<th>Quarter</th>
<th>Amount</th>
</tr>
<?php
foreach($tc_item as $v){
if($v->dbl_amt != 0){
?>
<tr>
<!-- Nature of Collection -->
<td id="nature"><?php echo $v->strDescription; ?></td>
<!-- Account Code -->
<td id="account"><?php echo $v->str_details; ?></td>
<!-- Amount -->
<td id="amount"><?php echo number_format($v->dbl_amt,2, '.', ''); ?></td>
</tr>
<?php } ?>
<?php } ?>
</table>
<?php
$_SESSION['or_details'] = ob_get_contents();
?>
ob_start()down past the header?