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

PHP $_SERVER

Hello everyone, today we are going to learn PHP $_SEVER variable. Which is a super global variable and contains header information, path information, script locations. They are available in all scopes throughout a script. Entries to this global variable is done by web server. Below table describes $_SERVER variables and its use. CODE DESCRIPTION $_SERVER[‘PHP_SELF’] […]

Continue Reading