So now what we need to do is that we need to get these products from the database and display these
products here from.
We need to get them from the database and display that here.
And in order to do that, we need to connect to the database and get these products.
So here as well, we need to get these products here as well.
We need to get these products and to do all of this.
The first step is that first, we need to make sure that your Apache server is up and running in your
database.
My old database is up and running.
The next step is that we need to convert the index into BHP.
So I'm going to rename this file and this file is no longer going to be index at that email.
It's going to be index that BHP.
And.
And we no longer can run this file like this.
We cannot just open it in the browser like this.
Instead, we should.
From now on, we need to click on View and the Terminal, and then we need to run the server because
basically it runs only on the server.
So we need to say here BHP minus capital S and then local costs and then call 8000.
So you need to type this command, this command, you need to type this command in the directory of
your project.
And I'm using here, as you can see, I'm using the terminal that comes away with the Visual City code.
If you chose to use another terminal, you need to make sure that you are pointing to your project folder.
You need to make sure that you are in your project folder and then you type B minus S, minus capital
S and then localhost colon 8000 when hit enter this.
This is going to start a server and here it says development server.
The server started.
Now we can copy this line.
This you are l localhost on 8000 and then in the browser let me close this.
We can we no longer we we no longer can open this.
I'm going to close this and then here I'm going to basically what l which is SDP and then going for
a slash for slash localhost going 8000.
Now if I hit enter, guess what I'm going to get I'm going to give the same exact but I'm going to give
the same exact look.
But the difference is that now I'm using page, but now we are working with the server, so now we are
good to go.
So this is a very important step that you need to do, which is which is running your server and going
to the server in order to make sure that your server is up and running.
And also make sure that you have converted your index that it would email to index that BHP.