by admin | May 6, 2020 | CodeIgniter
Update a record In this topic, we will learn how we can update existing records in database tables. To update a record, CodeIgniter provides an update() function used with the set() and where() functions as shown below: set(): As the name suggests, it is used to set...
by admin | May 6, 2020 | CodeIgniter
Delete a record from the Database After inserting, retrieving, and updating table records, we will now learn how we can delete a particular record from a database table. To delete a record, first, we have to fetch all the records from a database and show them with the...
by admin | May 6, 2020 | CodeIgniter
As we know, a URL in CodeIgniter is designed in such a way that it would be search engine and human friendly, too, rather than using a standard approach to create a URL string. By default, it uses an index.php file in the CodeIgniter’ URLs, as shown below....
by admin | May 6, 2020 | CodeIgniter
Retrieve data from the Database Now we will discuss how we can retrieve data from the database that we have inserted to the employees table of the database in our previous topic “inserted data to the database”. The following are the records of the employees table that...
by admin | May 3, 2020 | CodeIgniter
The CodeIgniter framework provides the migration class that helps the web developers to create and handle databases in a structured and streamlined manner. The migration classes are very useful when more than one developer is working on the same project. If any...
by admin | May 2, 2020 | CodeIgniter
In every application, there is an important part of a database through which developers can connect an application to store users’ data and perform various functions in the database application such as inserting, updating, reading, and deleting the values. Before...
by admin | May 2, 2020 | CodeIgniter
HTML Table Class The CodeIgniter framework provides an HTML Table Class that is used to develop an auto-generated table using a defined array or result sets of the database table. Loading an HTML Table Class Like other libraries, we must load a table class in the...
by admin | Apr 21, 2020 | CodeIgniter
Session Library The session is an essential part of any application. It contains various functions to manage the users’ status and track their activity while browsing on the site. For example, when a user logs into any web application, it creates a global...
by admin | Apr 21, 2020 | CodeIgniter
URI Class The CodeIgniter contains a URI class that is used to retrieve information from URI strings. It also provides suitability to get information from the re-routed segments. The system automatically initializes this library class, so you do not manually load it...