HTML Table Class new error! |
07-16-2019, 05:35 AM
(This post was last modified: 07-16-2019, 05:37 AM by mboufos. Edit Reason: forgot something )
check here
https://www.codeigniter.com/user_guide/l...table.html load the library in controller : $this->load->library('table'); and the rest on view or what ever you like $data = array( array('Name', 'Color', 'Size'), array('Fred', 'Blue', 'Small'), array('Mary', 'Red', 'Large'), array('John', 'Green', 'Medium') ); echo $this->table->generate($data); i just tested it with no errors P.S. i dont know why you want this one $table = new \CodeIgniter\View\Table(); |
Messages In This Thread |
HTML Table Class new error! - by videoproc - 07-16-2019, 05:15 AM
RE: HTML Table Class new error! - by mboufos - 07-16-2019, 05:35 AM
RE: HTML Table Class new error! - by videoproc - 07-16-2019, 05:54 AM
RE: HTML Table Class new error! - by ciadmin - 07-16-2019, 07:25 AM
RE: HTML Table Class new error! - by InsiteFX - 07-16-2019, 08:32 AM
RE: HTML Table Class new error! - by InsiteFX - 07-16-2019, 03:06 PM
RE: HTML Table Class new error! - by videoproc - 07-16-2019, 11:21 PM
RE: HTML Table Class new error! - by videoproc - 07-17-2019, 12:23 AM
RE: HTML Table Class new error! - by InsiteFX - 07-17-2019, 12:44 AM
|