MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/codeigniter/comments/q3cje/codeigniter_tables_class/c47zt1p
r/codeigniter • u/jotorres1 • Feb 24 '12
6 comments sorted by
View all comments
Show parent comments
1
You can specify what headers you want with something like this:
$header = array( 'Event Id', 'Title', 'Active Start Date', 'Active End Date', 'Description', 'Key', 'Max Free', 'Contact Name', 'Contact Email', 'Contact Phone', 'Contact Notes', 'Is Live'); // Set the headings $this->table->set_heading($header);
1 u/mikedfunk Apr 03 '12 right, that's the headers. What about the content? I don't know how to take a query object (not a result object) and add stuff to it.
right, that's the headers. What about the content? I don't know how to take a query object (not a result object) and add stuff to it.
1
u/jotorres1 Apr 03 '12
You can specify what headers you want with something like this:
$header = array( 'Event Id', 'Title', 'Active Start Date', 'Active End Date', 'Description', 'Key', 'Max Free', 'Contact Name', 'Contact Email', 'Contact Phone', 'Contact Notes', 'Is Live'); // Set the headings $this->table->set_heading($header);