Welcome Guest, Not a member yet? Register   Sign In
Trying to add two table [html table, not database table] in one view
#4

[eluser]Azraf[/eluser]
Thank. Now everything is working fine.

I have set in my Controller
Code:
$data['infoRelPlAr'] = $this->Admin_model->getRelLicPlDetail($id);
$data['infoRelPlArHd'] = array('First Name', 'Middle Name', 'Last Name', 'Title', 'Association Date', 'Disassociation Date', 'Class', 'More Class');
and in my View:
Code:
<?php echo $this->table->generate(); ?>
<div class="clear-h"></div>
&lt;?php
$this->table->clear();
$this->table->set_heading($infoRelPlArHd);
echo $this->table->generate($infoRelPlAr);
?&gt;
Now Heading is also coming for each table.

It helps me a lot. Thanks again.


Messages In This Thread
Trying to add two table [html table, not database table] in one view - by El Forum - 06-04-2012, 05:37 PM



Theme © iAndrew 2016 - Forum software by © MyBB