CodeIgniter
Articles about CodeIgniter from the CyberNetikz team.
- CodeIgniter
Generate a Report Using CodeIgniter Active Record Class
In our last tutorial we have learned storing data in MySql database using CodeIgniter Active Record Class. Today we will generate a report. First off we will create a blank template page, called “report.php” and then a “controllers” page called “report.php” with the following code. class Report extends CI_Controller { function __construct() { parent:: __construct();
1 min readRead - CodeIgniter
How to Insert Record in Database Table Using CodeIgniter Active Record Class
We already knew about CodeIgniter theming. Today we will concentrate on Database (MySql). Basic database in CodeIgniter will be discussed today. For theming we used only “view” and “controllers”. But we knew that CodeIgniter is a MVC (Model, View, Controller). All logical operation we will do in Model. Check out more details on ellislab. Before
2 min readRead - CodeIgniter
Create a Static page with CodeIgniter
Lets start by creating a file at application/controllers/pages.php with the following code. Now create a folder into views with the name ‘templates’ which will contain the common parts of your template file. Create two file into ‘templates’ with names ‘header.php and footer.php’ and add the following codes. Header.php Footer.php Create another folder into view with the
1 min readRead - CodeIgniter
Setup CodeIgniter in your localhost with WAMP server
CodeIgniter User Guide Version 2.1.3 Understanding CodeIgniter: CodeIgniter is a PHP-driven framework, containing a grab-bag of libraries, helpers, plug-ins and other resources that covers many more complex procedures and functions for which PHP is famous. It follows Model/View/Controller (MVC) architecture. The Model/View/Controller architecture programming aims to keep the business logic of an…
2 min readRead - CodeIgniter
Configuring CodeIgniter in your localhost with WAMP server
Once successful installation of CodeIgniter, you need to make a few modifications on CodeIgniter config file so that CodeIgniter is properly configured and can access your database. Configuring Base URL: To set Base URL open “config.php”, this is located in “/application/config/” relative to your root directory of CodeIgniter, for us, that would be “C:wampwwwCodeIgniterapplicationconfig” On
1 min readRead