In this second part, I explain how to create a multilingual website with dynamic content obtained from the database.
In this first part, I explain how to create a multilingual website thanks to the localization features and the translation files in several languages.
In this sixth part, I explain how to insert, update and delete rows in the database using a form. As well as the creation of a configuration file and the validation of a form.
In this fifth part, I explain how to submit a search form and save its values in the session data.
In this fourth part, I explain how to paginate the results and how to insert dummy data in the database with the Seeder class.
In this third part, I explain how to define different routes to a new page using either the id of the item or a custom placeholder that we will define with a regex.
In this second part, we replace the static content with dynamic content obtained from a MySQL database. I explain how to define a model, an entity and a library.
In this first part, I explain how to create a simple application with static content, what to put in the configuration and how to define a controller and a view.
What to check when a web application developed with CodeIgniter 4 is not working? Check the error logs, the file and directory permissions, the content of the .htaccess file...
The initial reason that led me to create this blog was the release of CodeIgniter 4 . This PHP framework was once quite popular. But over the years, its code was considered more and more obsolete by the developer community and its popularity has greatly diminished. This is where version 4 comes in, which is much more modern than previous versions...