Welcome Guest, Not a member yet? Register   Sign In
Generating table from query without header
#1

[eluser]Apocryphon[/eluser]
I'm creating a simple one-column table like this:

Code:
$query = $CI->db->query('SELECT team FROM teams ORDER BY team');
$index = $this->table->generate($query);

How do I get a result that doesn't display team, which is the column header?
#2

[eluser]umefarooq[/eluser]
you can create your own template for table check the user guide if you don't want to print headers

http://ellislab.com/codeigniter/user-gui...table.html




Theme © iAndrew 2016 - Forum software by © MyBB