database
-
February 09, 2023
Let’s go ahead!
In the previous video, we created a controller, Rosed XML layout, and a template file to render to a blog on a storefront. If you missed some videos, don’t be sad and join a free Magento 2 blog creation course. Go to the link: https://bit.ly/3FfxfJk
In this video, we will load posts from a database table. Learn more in the tutorial.
-
January 11, 2023
The previous video was about button creation (we’ve created “Back” and “Save”). But we haven’t added a logic responsible for saving processing data from post form and save into the database.
We’ll show you how to create a logic that will handle the save operation. In Magento 2, when we make Magento 2 module, we have to create a controller that will process data from a form. In the video, we will create an empty PHP class that we will convert into an Action Controller.
How was it?
-
November 17, 2022
In this lesson, we will learn how to connect to a MySQL database with the help of the PDO library, which is widely used in PHP applications.
In this lesson, we are going to learn the following:
- What is DSN?
- How to connect to a MySQL database via PDO class?
Watch the video.
Do you want to learn more about
-
November 10, 2022
The SQL language is an integral tool when working with data. Magento developers or testers use it to store, change and process large amounts of information.
Selection, sorting, and limits
How do we obtain samples from several data sources, applying the necessary restrictions in a specific situation? Consider the process using the user's table as an example. It is located in the product schema (folder) and contains user registration data.
The same data is