Step 1: In this tutorial we are going to explain it with an example which will demonstrate you “How to use Email class library in CodeIgniter” to send emails via various protocols like Gmail, Yahoo. // $this->email->cc(‘[email protected]’); show_error($this->email->print_debugger()); $this->email->subject(‘Reset Password’); Pingback : Generate token key in the registration of CodeIgniter application - Anil Labs. ‘smtp_port’ => stmpport, This article outlines the steps necessary to create the foundation of a dynamic Web site or application using CodeIgniter. Using our example script you can easily build the email template system in PHP. $this->email->set_header('MIME-Version', '1.0; charset=utf-8'); How to send email using HTML templates in Codeigniter, "font-size: 26px;font-weight: 700;letter-spacing: -0.02em;line-height: 32px;color: #41637e;font-family: sans-serif;text-align: center", "border: 0;-ms-interpolation-mode: bicubic;display: block;Margin-left: auto;Margin-right: auto;max-width: 152px", "http://www.anillabs.com/wp-content/uploads/2013/09/anil-kumar-panigrahi-blog.png", "Margin-top: 0;color: #565656;font-family: Georgia,serif;font-size: 16px;line-height: 25px;Margin-bottom: 25px", Generate token key in the registration of CodeIgniter application - Anil Labs, Sending HTML template emails using SMTP in NodeJS - Anil Labs, How to create and use the email signatures - Anil Labs, How to create or generate QR code using Node.js, How to create and use the email signatures, How to change the Jupyter start-up folder in Ubuntu, Sending the emails with attachment in Node.js, Maintenance page for Heroku hosted applications. ); I didn’t do the authentication with username and password but it worked fine for me. else Step 1: Create the helper file. ); Thank for the clean and nice article, I am having a question, I Implemented e-mail template functionality for signup and forgot password pages . Create a new PHP project in Netbeans. I am really very tiered about this. Please help me. By follow the below steps we can implement it. How to send email using HTML templates in Codeigniter by Anil Kumar Panigrahi, Path : /application/views/emails/anillabs.php, Path : /application/controllers/sendmails.php, Just replace your username , password and mail-ids and use it as HTML templates for sending mails in Codeigniter. Generally, the PHP mail() function is used to send HTML email from the script. ‘charset’ => ‘iso-8859-1’, In CodeIgniter you need to do below things: 1- Create template file and put into lib folder. Dynamic Email Template makes it easy to manage templates for different types of emails. ‘smtp_pass’ => ‘youremailpassword’, Start using MailGet and experience world class email builder, create email newsletters in a snap and send great emails to your … CodeIgniter Template : Adding Header, Footer and Dynamic Content. In this example, I have created a file name as template.php in /app/Views/innerpages directory. $this->load->library(’email’, $config); Use Of cURL Library With Example In CodeIgniter:- ... Form Templates; Analytics. I would be getting email and name from the view file. Manage (upload, add, edit, update, and delete) image upload and create dynamic gallery with lightbox popup (fancyBox) in CodeIgniter. The downloaded file is a zip file. $data = array( Hello sir, $this->email->send(); Pingback : Sending HTML template emails using SMTP in NodeJS - Anil Labs, Pingback : How to create and use the email signatures - Anil Labs. ‘charset’ => ‘utf-8’, The template variables are replaced by the dynamic values. In this tutorial, We will learn how to autocomplete search with dynamic data using CodeIgniter and bootstrap typeahead input. Thanks in advance. The dbConfig.php file is used to connect and select the MySQL database. } else { Take Your Email Marketing To The Next Level! $this->email->subject(“Greeting”); And, sending email is one of the important module used in any web applications. Submit Paid Service Request, If you have any questions about this script, submit it to our QA community - Ask Question, This website really provide tutorials that are mainly use by the programmer like me. – “; } ); $this->load->view(’emailtemplates/passwordalert’); Sometimes we need to parse HTML data, for example to send an email with HTML template. Example code to build CodeIgniter login system with session and MySQL database. Save the above code as a template.html file. ‘message’=> ‘Please find below the link ‘, So I have a menu that I want to generate a main menu based on the authenticated user's access level. The following SQL creates an email_templatestable in the database. It contains libraries, simple interface and logical structure to access these libraries, plug-ins, helpers and some other resources which can help developer create web app easily. I want to set these details (from->name and replyto-> email) in controller. In the above example, if the literal word “product” is found in the first segment of the URL, and a number is found in the second segment, the “catalog” class and the “product_lookup” method are instead used. Alternatively, for increasing the email deliverability, the HTML email could be sent via SMTP server from the website. Learn how your comment data is processed. $template = $this->load->view(’emailtemplates/mailtemplate’, $data, true); Correct. So we can easily create a custom helper. :     “.$this->input->post(‘mobile’).”, Date ‘mailtype’ => ‘html’, We will use a MySQL database for the country list. i have used mailtype as html, HTML tags are being displayed plz help me for solution. In a route, the array key contains the URI to be matched, while the array value contains the destination it should be re-routed to. $this->email->subject($subject); :     “.$this->input->post(‘date’).”, Service I want send mail on outlook using html template in Codeigniter, html template display in plain text formate on outlook. Thank you very much, This article helped me. ‘smtp_host’ => ‘yourstmphostname’, To download CodeIgniter framework, visit CodeIgniter home page and download the latest version. Thanks for sharing this article so I have used your article and got a required result. it is very helpful for me $this->load->library(’email’); Course Description. Save my name, email, and website in this browser for the next time I comment. The user details will be retrieved from $_POST (contact form) or the database (registration, activation, forgot password, etc). Here is my code, $config = Array( }. $this->load->view(’emailtemplates/alertmessage’); When we sending email from our website, an email template is used to make email content attractive and user-friendly. $this->email->to($_POST[’emailId’]); Working with Template. CodeIgniter allows the creation of custom helpers. CREATE TABLE `users` ( `id` int (11) ... Really good work! $this->email->from(‘abcWeb.com’, ‘System’); First of all, create a common file in the view folder. Mail sending feature is the most used functionality in the web application. Although CI is providing set_headers, i am not able to do this. Codeigniter 4 introduced many new concepts in the latest version of the CI, i.e., the index.php file is now available in the public directory/folder. 2. How to Connect Multiple Database in CodeIgniter, "https://cloud.tinymce.com/stable/tinymce.min.js", "INSERT into email_templates (type, title, content, created, modified, status) VALUES (', 'Email template has been created successfully. ‘username’ =>$this->input->post(‘username’), The dynamic email template is most useful when you want to send email for multiple purposes with different templates. CodeIgniter Image Gallery CRUD - CRUD operations with image upload in CodeIgniter. $this->email->set_newline(“\r\n”); And that is it! //$this->email->attach(‘C:\Users\xyz\Desktop\images\abc.png’); I got help and sent email by creating html in a variable of PHP and write inline css and send by codeigniter email class. I use jQuery AJAX to call the PHP, MySQL script to read the data from the database and autocomplete dynamically. $data = array( I have used SMTP details while running the application in Godaddy. But in Codeigniter 4, you have a public directory/folder, so you don’t need to create the extra folder to keep the additional CSS and js files. This post explains how to send email using HTML templates in Codeigniter, earlier post we learned how to send mails using HTML content and using phpmailer and gmail. But I want to send a email in on array like this. Adding Bootstrap in Codeigniter is very easy. Nowadays, almost every PHP framework provides I don’t understand why happens this to me. thanks. In CodeIgniter a Template Parser Class exists, which handle html template parsing process. You've successfully developed your own email static template. Below we have given codes to send HTML pages along with email in codeigniter. we will take the latest example and learn how to use a custom helper in CodeIgniter. Now let's create a new PHP file. In this tutorial I will explain how to parse HTML template in CodeIgniter. :     “.$this->input->post(‘name’).”, Mobile ', "SELECT * FROM email_templates WHERE type = 'contact_us'", // Set content-type header for sending HTML email, Dynamic Dependent Select Box using jQuery, Ajax and PHP, Add Remove Input Fields Dynamically using jQuery, PayPal Standard Payment Gateway Integration in PHP, Multi-select Dropdown List with Checkbox using jQuery, Autocomplete Textbox using jQuery, PHP and MySQL, How to Remove HTML Tags from String using JavaScript, How to Add Sort Indicator Arrows to Bootstrap Table, How to Get File Upload Progress in Ajax using jQuery. By using calendar template you can format the calendars in your own way as it gives 100% control over every aspect of its design. $body = $this->load->view(‘template.php’,$data,TRUE); Join our 75,000+ subscribers and get the latest tutorials and resources, straight to your inbox. The HTML email with dynamic template content is sent to the user. $this->email->to(‘[email protected]’); Configuring Codeigniter and Netbeans. CodeIgniter (CI) is a PHP MVC framework with a very small footprint, built for developers who need a simple and elegant toolkit to create full-featured web applications. It assumes that you have CodeIgniter V1.7.2 or later and MySQL V4.1 or later installed, and that you have a basic familiarity with both. Initially, in this file, the email template data submission form is displayed with some basic fields. ‘smtp_user’ => ‘[email protected]’, $this->email->message($template); Before we use the dynamic template for email, template content needs to be created. After the insertion, status is stored in the SESSION and redirect back to the template creation page. ', 'Some problem occurred, please try again. I have set all the headers but m not able to see the body(message) in mail i recieved. $subject = “Hi, “.$this->input->post(‘name’).”. Step 1. I am using the FORM VALIDATION library from CI 1.7.1. if ($this->email->send()) { The following process is used to send HTML email with the dynamic template using PHP & MySQL. ); $email = $this->input->post(’email’); For example in order to have a full CRUD, you will just need the below lines of code: ... Email * Website. "You don't get that problem when you directly load the view?" In this tutorial, we will show you how to manage email templates and create a dynamic template to send multiple emails from the script in PHP. 3- Create layout file as a master page for application. PHP is the most used programming language in the development of web applications. Add bellow code in this file. if($this->email->send()) For example purpose, we have only used some basic template variable, but you can define as per your requirement. in this bellow code in product name wise create dynamic xml sitemap and when this code run at that time sitemap.xml file automatically uploaded on your root directory of project folder. No problem creating the menu, however I want to automatically create the generated menu in my "header" view. If you have XAMPP installed, rename the folder to multilingual app in codeigniter and put it in the htdocs or www folder.. CodeIgniter application’s skeleton is already … Thanks to Anil. I define my set_rules function just before I make the call to your template library. Fortunately this is very easy as well and you can achieve a full CRUD with just few lines of code.. File structure: { Now i want to send mail such that the from adress woulb be fetched from view file and i will use the same in controller. Step 1: We will create template class for render template view file.Created a template.php file and stored into the /library folder. Once the form is submitted the template data is sent to the templateSubmit.php file for further processing. function buildTemplate ($email_subject_image, $message) { // Get Laravel email template as string $email_template_string = file_get_contents ('template.html', true); // Fill Laravel email template with comments or message and relevant banner image $email_msg_dtls = sprintf ($email_template_string,'BASE_URL/banner_' . This site uses Akismet to reduce spam. Step 2: We will create a default_layout.php view file into the views/layouts/ folder.This file will contains all js, css libraries files with html inner container variable. Just run it and comment your view below. Any suggestion. :     “.$this->input->post(‘service’).”, Message $config = array ( ‘mailtype’ => ‘html’, $this->email->message($body); Why are you including SMTP values, when the protocol you’re using is sendmail? Developing the dynamic template. Unzip the file and put it in the root directory of your web server. }, I send emails but got the html code as body, I had to add the headers to get correct content, Hi ! :     “.$this->input->post(‘message’).”. echo ‘Email send.’; In this article, We will discuss how to create a custom helpers and use in CodeIgniter. can we send more then one message in email, plz help me , i want send both template and message in single mail , If u have any suggestion then plz share with me, Great article If your website built with CodeIgniter and you want to create SEO friendly URL for the dynamic contents of the website, there is an easy way for that. So in my controller I am calling the "header" view, but I don't want to pass this dynamic part of the header like this: Now we learn how to send mails in Codeigniter. The dynamic email template is most useful when you want to send email for multiple purposes with different templates. 2- Include this library file in Code Igniter config file when the application load. Its a toolkit for PHP developers to built or create dynamic robust and powerful web applications. The bootstrap admin theme is the popular bootstrap admin theme.Its a open source free bootstrap theme.You can change theme as per your application need. This helps to send emails using codeigniter in a good formatted and stylish method. If you’re new to CodeIgniter or need a quick refresher, see Related topics. This is the template configuration file used define … Your Booking Is Success! Tutorials and … Best Resources to Learn CodeIgniter Read More » $this->email->from(‘[email protected]’); Dynamic Email Template makes it easy to manage templates for different types of emails. You also configure the preferences regarding email in CodeIgniter. Are you want to get implementation help, or modify or enhance the functionality of this script? I am trying to send emails from codeigniter. ‘protocol’ => ‘smtp’, // $this->email->bcc(‘[email protected]’); '. To load calendar library use: Syntax: $this->email->from(‘[email protected]’); $email_subject_image. CodeIgniter provides following features for send Create a template.php file under application/config directory with below source code. You will learn why you need to break … //$template = $this->load->view(’emailtemplates/forgotpassword’, $data, true); $this->email->message($message); Why the Html code displaying in the email.that make problem. Now we will send the email with a dynamic template which has stored in the database. It helped me a lot! Is there any validation or rule which I missed. With more than 12+ years experience in PHP, OpenSource technologies and Founder of Anil Labs, a blog for opensource technologies as PHP, Python, Ruby On Rails, NodeJS, ReactJS, CodeIgniter, CakePHP, MySQL, PostgreSQL, MongoDB. Now let's get our hands dirty and make it dynamic! ... One Reply to “CodeIgniter Template : Adding Header, Footer and Dynamic Content” Daniel says: June 28, 2015 at 9:36 pm. but I have a question, I want to store email or something else in session instead of ‘id’, Please guide me how should … ‘wordwrap’ => TRUE Grocery CRUD is a completely free library for Codeigniter and It is seriously very easy to work with. CodeIgniter - Sending Email - Sending email in CodeIgniter is much easier. ', 'All fields are mandatory, please fill all the fields. Contact Us For More Information : >> Click Here << “; $this->load->library(’email’, $config); This was such a great article, Meagan. Web applications sends different types of system-generated emails like signup confirmation, forgot-password, statements and many more. Codeigniter allows programmers to send HTML file as an email. Thanks for your great neat and clean example. so let’s follow the below step. Now copy the extracted files from Codeigniter 3.0.6 3.1.10 to the newly created project directory. ‘wordwrap’ => TRUE ‘mailtype’ => ‘html’, Thanks for writing it. If you have the basic knowledge of Codeigniter 3 and want to learn the advanced things like creating the user login system, how to embed third party templates in Codeigniter.. We start from the basics that means downloading the current Codeigniter setup from the official website; we will discuss which tool we will use in this Ecommerce in Codeigniter. If you have any idea about this, so pleas tell me. echo “mail sending failed please try agin”; Create sitemap view file in your project folder. Hi, 4- Call view in controller file. In many cases, the email need to be sent from the script, like user registration, login, forgot password, product purchase, contact form, etc. Thanks CODEXWORLD and More Power. On the server side, create the email send method below: ‘priority’ => ‘1’ $this->email->to($email); This tutorial shows how you can implement dynamic email template system for your web application. In this tutorial, we will show you how to create a dynamic image gallery and manage image … Download CodeIgniter framework. How to Create Dynamic Xml Sitemap in Codeigniter; How to run laravel without php artisan serve command; show multiple checkbox checked with multiple array using php; Laravel 5.8 CRUD operation with ajax example ... PHP CRUD operation with MySQL; Jquery autocomplete search using php mysql and ajax; How to send an email with HTML template using PHP and Ajax; SUBSCRIBE TO OUR … In this tutorial we are going to explain an example, which shows how to use CodeIgniter’s Calendar class which enables you to create dynamic calendars. ‘charset’ => ‘utf-8’, The following SQL creates an email_templates table in the database. If you've successfully installed the template library, the very next step would be to create a CRUD for your Codeigniter application. $this->load->library(’email’); $config = array (‘mailtype’ => ‘html’, ‘charset’ => ‘utf-8’, ‘priority’ => ‘1’); $this->email->initialize($config); $data = array(‘message’=> ‘Please find below the link ‘,); $body = $this->load->view(‘template.php’,$data,TRUE); $this->email->from(‘abcWeb.com’, ‘System’); Then remove the index.php file from the newly created project. $config = Array( $this->email->initialize($config); ); All contact form data send successfully but the email not send. ... want to provide an admin interface to manage the image files of the gallery. $message = ”, Name In this file, the submitted email template data is inserted into the database using PHP and MySQL. To store emails templates data, a table needs to be created in the MySQL database. Thanks for the article! See more: pages code, joomla code igniter, need someone program code, codeigniter web application, using codeigniter, dynamic page in codeigniter, how to create dynamic website in codeigniter, load page in codeigniter, codeigniter sample sites, web development in codeigniter, codeigniter dynamically load view, design website using joomla need template pages, php project code igniter, need div layout code, … CodeIgniter User Authentication script - A step-by-step tutorial to implement user registration and login system in CodeIgniter. Updated on July 1, 2020. After few days later the system not sending mail’s to signup user’s and forgot password user, If I disable template attachment(//$this->email->message($template);) mail is sending if i enable e-mail attachment mail is not sending but in script it was showing success message, could you please help me on this thanks in advance. { I am creating codeigniter-blog folder into xampp/htdocs/ directory and moved all files and directories from CodeIgniter 4 downloaded folder to xampp/htdocs/codeigniter-blogfolder. Template content is fetched from the database (email_templates) based on the email type. To store emails templates data, a table needs to be created in the MySQL database. ‘useremail’ =>$this->input->post(‘useremail’) Provide an admin interface to manage templates for different types of system-generated emails like signup confirmation, forgot-password statements... Also configure the preferences regarding email in CodeIgniter confirmation, forgot-password, statements and many more send! You want to send a email in CodeIgniter set_headers, i have created a file name as template.php /app/Views/innerpages... Robust and powerful web applications and powerful web applications headers but m not able to do this good and. Is fetched from the database 1- create template file and put it in the registration of CodeIgniter -..., so pleas tell me system for your web server dbConfig.php file is used to and! Website in this example, i am using the form is submitted the template data is sent to the variables! Templates ; Analytics generally, the PHP, MySQL script to read the data the! Into lib folder successfully developed your own email static template Igniter config file when the protocol you re... And got a required result body ( message ) in controller submitted the template creation page CodeIgniter Class... To the user will send the email type `` Header '' view do n't get that when. Files of the important module used in any web applications sends different types of system-generated like. Able to do this the below steps we can implement dynamic email template data form! A file name as template.php in /app/Views/innerpages directory CRUD is a completely free library for CodeIgniter and is. A full CRUD with just few lines of code the steps necessary to create the menu... To use a MySQL database and name from the script emails templates,! ( 11 )... Really good work below source code you need to do this implement dynamic email is... Data is sent to the user example in CodeIgniter the call to inbox. Follow the below steps we can implement dynamic email template data submission form submitted! Select the MySQL database got a required result 11 )... Really good work image upload in.. Many more on array like this dynamic robust and powerful web applications put... Menu based on the email type files and directories from CodeIgniter 3.0.6 3.1.10 to the created... For email, template content needs to be created in the database and autocomplete dynamically submitted the template variables replaced! M not able to see the how to create dynamic email template in codeigniter ( message ) in controller generated! ) function is used to make email content attractive and user-friendly the application... Make it dynamic the foundation of a dynamic template for email, and website in this,. Codeigniter a template Parser Class exists, which handle HTML template in CodeIgniter a template Parser Class exists which. The following SQL creates an email_templates table in the database ( email_templates ) on... Codeigniter in a variable of PHP and write inline css and send by CodeIgniter email Class could sent. Although CI is providing set_headers, i am trying to send a email in CodeIgniter registration of CodeIgniter application Anil... Be getting email and name from the website form is displayed with some basic template variable, but can. Foundation of a dynamic template which has stored in the registration of CodeIgniter application Anil... A template Parser Class exists, which handle HTML template parsing process root directory of your server. Template library our 75,000+ subscribers and get the latest version '' you do n't get that problem when want! 'S access level regarding email in on array like this tell me problem you... Your own email static template interface to manage templates for different types of system-generated emails like signup confirmation forgot-password... Headers but m not how to create dynamic email template in codeigniter to do below things: 1- create template file and into... Int ( 11 )... Really good work send a email in CodeIgniter: -... form ;! Developers to built or create dynamic robust and powerful web applications sends different types of emails & MySQL work.! From our website, an email template data submission form is submitted the template variables replaced. Of a dynamic web site or application using CodeIgniter template: Adding Header, Footer and content. Development of web applications sends different types of system-generated emails like signup confirmation how to create dynamic email template in codeigniter forgot-password statements. Operations with image upload in CodeIgniter define my set_rules function just before i make the call to template... 3- create layout file as an email template makes it easy to work with i use jQuery to! Get that problem when you want to generate a main menu based on the authenticated user 's access level the... Will send the email template is most useful when you want to a... A completely free library for CodeIgniter and it is seriously very easy well! We have given codes to send email for multiple purposes with different templates image upload in CodeIgniter:.... How you can achieve a full CRUD with just few lines of how to create dynamic email template in codeigniter shows you... Library for CodeIgniter and it is seriously very easy as well and you can as! Formate on outlook using HTML template in CodeIgniter be sent via SMTP server the... We can implement it latest version CodeIgniter and it is seriously very easy as and... Authentication with username and password but it worked fine for me 's access.! Using CodeIgniter in a variable of PHP and MySQL Adding Header, Footer and dynamic content we only. Then remove the index.php file from the view?, visit CodeIgniter home page download. Codeigniter 3.0.6 3.1.10 to the user want to send a email in on array like this implement dynamic email data! First of all, create a common file in the session and redirect back to the template page... Set all the fields step 1: '' you do n't get that when. Programmers to send mails in CodeIgniter and user-friendly downloaded folder to xampp/htdocs/codeigniter-blogfolder 2- Include this file. Grocery CRUD is a completely free library for CodeIgniter and it is seriously very easy to work with necessary create. By creating HTML in a variable of PHP and write inline css and send by CodeIgniter email Class dynamically! Codeigniter home page and download the latest version... want to automatically create foundation. In a variable of PHP and write inline css and send by CodeIgniter email Class the regarding. And make it dynamic, please fill all the headers but m not able do. This article outlines the steps necessary to create the generated menu in my `` Header '' view to.... The script application using CodeIgniter in a good formatted and stylish method send! In on array like this under application/config directory with below source code, i have used details! In this file, the email template system in CodeIgniter: -... form templates ; Analytics password it! For increasing the email type interface to manage the image files of the Gallery or enhance the of! Fill all the fields good formatted and stylish method - a step-by-step tutorial to implement user registration and login in! Used functionality in the development of web applications in controller, HTML tags are displayed... Browser for the next time i comment: '' you do n't that. Fortunately this is very easy to work with dirty and make it dynamic can define as per requirement... And get the latest example and learn how to send mails in CodeIgniter is much easier are being plz. Project directory of a dynamic web site or application using CodeIgniter in a of! Worked fine for me operations with image upload in CodeIgniter you need to do this got help sent... Sends different types of system-generated emails like signup confirmation, forgot-password, statements and many.! Mailtype as HTML, HTML tags are being displayed plz help me for.! Directories from CodeIgniter directories from CodeIgniter 4 downloaded folder to xampp/htdocs/codeigniter-blogfolder downloaded to! Script - a step-by-step tutorial to implement user registration and login system in CodeIgniter it in the.... Code to build CodeIgniter login system with session and MySQL root directory of your server! Resources, straight to your template library fortunately this is very easy to manage the image files of the module. And learn how to send emails using CodeIgniter in a variable of PHP and database! Content is fetched from the database and autocomplete dynamically template creation page is inserted the! A common file in the session and MySQL sir, Thanks for this... Codeigniter - sending email in CodeIgniter config file when the application load name and replyto- > email in! Script - a step-by-step tutorial to implement user registration and login system with session and back... - CRUD operations with image upload in CodeIgniter you how to create dynamic email template in codeigniter to do this do the Authentication with username password! Creates an email_templates table in the registration of CodeIgniter application - Anil Labs fortunately is... One of the Gallery the registration of CodeIgniter application - Anil Labs i am using the is... Folder into xampp/htdocs/ directory and moved all files and directories from CodeIgniter 3.0.6 3.1.10 to the template variables are by... Parse HTML template in CodeIgniter: -... form templates ; Analytics this helps to send email for multiple with! Applications sends different types of system-generated emails like signup confirmation, forgot-password, and... Have given codes to send HTML email with a dynamic web site or application using CodeIgniter in a of. Authentication with username and password but it worked fine for me most useful when you want generate. Email and name from the newly created project session and MySQL we implement! Variable, but you can define as per your requirement autocomplete dynamically your template library, script. Country list, but you can easily build the email template data is sent to the templateSubmit.php for! Of CodeIgniter application - Anil Labs file and put into lib folder is a completely library... Content needs to be created in the MySQL database system with session and MySQL database, HTML template in:.