Custom pagination design with Codeigniter4
Codeigniter4 has methods to implement custom pagination design as per our design requirements. We can customise the design and reuse the component across all pages …
Experiment with ease
Codeigniter4 has methods to implement custom pagination design as per our design requirements. We can customise the design and reuse the component across all pages …
Codeigniter4 provides a pagination library that is simple to use. Let us consider an example. Below is a table structure in mysql . Now lets …
Codeigniter4 provides a query builder to form and execute complex queries. We often convert the query response to JSON or Object. CI4 provides inbuilt functions …
CI4 provides a lot of inbuilt functionalities that simplify handling the data between application and MySQL Database.Let us look at an example here. We will …
We can simply configure the database credentials in the file app/Config/Database.php as below. Edit the credentials as per your settings for database. This database is …
We can fetch parts of the url in Codeigniter4 using the getSegments() function. This is similar to CI3 call $this->uri->segment function but with a slight …
CI4 has a helper for cookies management which contains some functions to implement the cookies. Let us see with an example. set_cookie function takes below …
CI4 provides in built array functions for grouping and sorting array elements to some extent. Lets us look at two functions here array_group_by and array_sort_by_multiple_keys …
Caching techniques in Codeigniter 4
Where is form_error method in Codeigniter4 ?