Translate

Friday, 17 July 2020

How to create library in Codeigniter

                                       Library of Codeigniter Tutorial

Library is also class. In Codeigniter class is called as library. On Codeigniter their are lots inbuilt libraries. All inbuilt library locates into System Folder. You can read also.
Codeigniter User guide show about library in if want you can read link    https://codeigniter.com/userguide3/libraries/index.html
 I have example shown below.


 
 
this->load->library('email');

$this->email->from('your@example.com', 'Your Name');
$this->email->to('someone@example.com');
$this->email->cc('another@another-example.com');
$this->email->bcc('them@their-example.com');

$this->email->subject('Email Test');
$this->email->message('Testing the email class.');

$this->email->send();
 
If you are still confuse. This below video will helpbyou and show you detail of library of Codeigniter.




No comments:

Post a Comment

If you have any doubt you can ask me