Articles → PHP CODEIGNITER → Libraries in CodeIgniter

Libraries in CodeIgniter






Purpose





Example




$this->load->library('table');

$data = array(
        array('Name', 'Color', 'Size'),
        array('Fred', 'Blue', 'Small'),
        array('Mary', 'Red', 'Large'),
        array('John', 'Green', 'Medium')
);

echo $this->table->generate($data);



Output




Picture showing the output when table library is called in codeigniter

Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Saturday, July 18, 2020

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250