Category: Codeigniter

How to Create PDF using DOMPDF in Codeigniter

In this topics, we will discus about how to create PDF using DOMPDF with Codeigniter Framework. We are going to use a third-party library called Dompdf that enables us to create PDFs and save them to the server or directly display them. Step 1: Create Librarie (application/libraries/Dompdf_gen.php) Step 2: Call Librarie in Controller Step 3: Controller Function […]

PHPExcel export mysql to excel in Codeigniter

Most of the time my clients need to download data from their database tables. Today, I decided to make a very small controller that is portable and efficient for exporting full MySQL tables to Excel using PHPExcel and CodeIgniter. Download your mysql data in yo Excel Sheet. First of all, you need PHPExcel which should be […]

How to send HTML Form array inside array in codeigniter using Ajax

Now, when you simply submit your form the normal way, your browser takes care of sending HTML input arrays inside array with ease and you can begin to segment your data on your server. This was an interesting complication that I ran into while making a form with dynamic related form fields. View Code JavaScript […]

Codeigniter https htaccess

.htaccess file is a configuration file used to override the main server configuration. .htaccess file placed in a directory and the configuration is applied to that particular directory and all the subdirectories. The most usage of .htaccess file is Rewriting URLs, Blocking, SSL, Customized error responses, Directory listing, Cache-Control, etc. Code

How to Send HTML Form array in Codeigniter using Ajax

Now, when you simply submit your form the normal way, your browser takes care of sending HTML input arrays with ease and you can begin to segment your data on your server. This was an interesting complication that I ran into while making a form with dynamic related form fields. I was trying to capture […]