How to use PHPMailer with gmail smtp in codeigniter

Hello everyone, In this tutorial explains how we can send email using PHPMailer in codeingiter. PHPMailer is a php class and that provides to send html based and e-mails with attachements. PHPMailer simplify the email forward to multiple recepients with cc,bcc etc. You can send emails from your own SMTP (Simple Mail Transfer Protocol) servers. Please […]

Continue Reading

how to make a Nested comment-reply using codeigniter and MySQL Database

Hello everyone, This article is about how to make a comment-reply system using codeigniter framework and store the comments to mysql database. Here the user can post a comment and other users can reply the post. Nested reply is possible. Other related technologies used are  bootstrap, ajax and jquery. Please read the article and follow […]

Continue Reading

Upload the CSV file content to MySQL Database and List the content as table Using Codeigniter

This article covers how to upload csv file content to database using php codeigniter framework without the help of any external libraries. We already discuss excel file content upload to MySQL database using codeigniter. Here we can upload only csv file contents, and insert each row content into database table row and finally lists all […]

Continue Reading

Database Transactions In Codeigniter

Transactions A Single Transaction have group of actions or tasks and grouped into single execution unit.  Result of transaction is either success or failure. If any task or action fails, then transaction fails and all actions or tasks succeeds, the transaction success. Rollback and commit is depends on the result of transaction status. Commit: All changes […]

Continue Reading

Codeigniter HMVC

HMVC stands for Hierarchical Model View Controller(HMVC). Why developers use HMVC instead of MVC is of handling  n-tier Web architecture or multi -tier. Here,  the software is engineered to have the processing, data management, and presentation functions physically and logically separated. The HMVC pattern decomposes the client tier into a hierarchy of parent-child MVC layers. This is […]

Continue Reading