Welcome Guest, Not a member yet? Register   Sign In
Looping through a DB for all information
#9

[eluser]codemonkey[/eluser]
It does not seem to work, the clear

Here is the view that generates the tables
Code:
<div id="stockview">Stock View</div>
<h2>Stock</h2>
&lt;?php echo $this->table->generate($stockrecords); ?&gt;
&lt;?php $this->table->clear(); ?&gt;

<h2>History</h2>

<div id="table">
&lt;?php echo $this->table->generate($records); ?&gt;
&lt;?php echo $this->pagination->create_links(); ?&gt;
</div>

The table headings for the second table is still being displayed for the first.

Is it because of the variables?


Thanks!


Messages In This Thread
Looping through a DB for all information - by El Forum - 04-30-2012, 10:34 AM
Looping through a DB for all information - by El Forum - 04-30-2012, 11:00 AM
Looping through a DB for all information - by El Forum - 04-30-2012, 12:03 PM
Looping through a DB for all information - by El Forum - 04-30-2012, 12:23 PM
Looping through a DB for all information - by El Forum - 04-30-2012, 07:58 PM
Looping through a DB for all information - by El Forum - 04-30-2012, 08:06 PM
Looping through a DB for all information - by El Forum - 04-30-2012, 08:32 PM
Looping through a DB for all information - by El Forum - 04-30-2012, 11:17 PM
Looping through a DB for all information - by El Forum - 05-01-2012, 08:16 AM
Looping through a DB for all information - by El Forum - 05-01-2012, 09:34 AM
Looping through a DB for all information - by El Forum - 05-01-2012, 09:42 AM
Looping through a DB for all information - by El Forum - 05-01-2012, 10:38 AM



Theme © iAndrew 2016 - Forum software by © MyBB