Hello, friend, welcome back.
In our previous video, we successfully inside one of the data, so that means our contact, all the
data.
So right now I want to do and visible this data.
So that is also in our database.
If you click as a browse and you can see it's successfully inside the data.
So I want to go on to get this data and visible it in our template that missing our Bozic and there
is our contact.
So first of all, we have to do we have to load our contact one of the pace.
So if you want to load this page so here into the header area, we have to add one the link.
Right.
So now go to our header.
That means that is our admin positions right now.
And to work in our funding, in the funding and the levels, there is a body and that is our header
right through to the header because we are happy to run that out for the portfolio.
So right now I copied and now to create another one for our contact.
So I open it.
So that will be a contact.
That will be the contact.
So now I have to do I have to create this out.
I have to create this out in our Web browser.
Yeah.
Go to our Web browser and here and name it as a home contact based out.
OK, that will be as a home contact result.
So it's always a great method I posted.
So that will be as a I am it only as a contact.
OK, so here it will be only the contact and then our name or name will be here, I name it as a contact
out.
So that will be as a contact.
So that will be only as a contact.
So into the controller that is our contact controller and to create one of the methode I know want to
create on the matter as a contact method.
OK, so this is the method we have to create in our contact base.
That means in our contact controller.
So don't go to our contact controller.
I copy it into the contact controller here, here.
After this.
I want to create the new method as a public and then function and then our method name as a contact.
Right.
Sorry, that will be as a contact method so that the contact method, what exactly we have to do, we
have to load one of the view.
So now I want to do want to return one of the few pages that was written and then view.
And for this contact I want to do if you go to our view into the view that your page is right.
So here I want to do are to create another page before I appear on the portfolio now to create another
page of the Contact Contact or Blade or PSP.
So that will be our this.
Right.
So first of all, I don't want to add our mastering.
That means our extended our layout.
I copied and pasted.
And then also we have to end it.
I copy it.
And here after this, I ended.
Right.
So right now we will need this.
I remove it.
So now if you click the save all, if you don't click and save all and now if you go here, click as
a refresh and now go to our contact.
Yeah.
You can see here because it's not showing as this one that actually the message maybe I did.
You can see I didn't add that as a comma and semicolon.
So the semicolon area here, we have to we have to load this page.
Right.
So I want to do want to load this page that is in our pages that in the pages folder.
And that is our context.
And I now to do and load it, that means that is in our pages and then the contact so that the contact
page perfect.
So now if you click at the all and now it should be looked at the refresh.
Yeah.
You can see it's not perfectly loaded.
So here it is perfectly getting our header and the future part.
Right.
That means here it's already loading our pages and the contact and the contact.
They have already extended our master home and that is our URL part.
So in particular, this area, I want to load our main theme.
That means if you go to a template and the template, that is our contact, this demo.
Right.
So now I'm going to open it.
I want to open it with our editor.
And here I hope you already know about it, friend here.
We don't need any header and footer part.
I only need our D main I.T. part.
Right.
So there is a community that that the section so I selected and I select everything before this main
I copied, I copied, I copied that section into the main section because of what I have already had
this main section in our master.
So here we don't need to use it.
Only our D portion will be needed.
So I copied into the contact here I it perfect.
So now if you click on the Savol and now if you go and refresh it.
Yeah.
You can see everything is perfectly loaded, so here it is perfectly loaded, there are all the template
is loaded, so now there is our map.
So here, if you want to use that map, you can use it and then you can also do it from here.
That means that is in our contact base and the contact with the image frame, that is the map frame.
So from here, I only want to do want to update our disposition.
Right.
So I want to update this person here.
We have to do we have to get this data from our database.
So from here we have to get this data and we have to pass it right.
So if you want to do that work in our contact controller here, I load this space.
So here I want to do I want to get this data.
So here, if you use that, you're looking at what you can use it and then you can also use that CareerBuilder
site, namely the contact and then with the live right.
With the DV and then TERBIL and who from which table you want to get this data?
I want to get this data from our these contacts table.
So, no, I copied, I copied and now here I pasted.
OK, and then I don't want to get our data, I want to get our files data because of all of told.
If different, if we're here, if you insert and here again another data from your dashboard.
So you only till we get there our first added data.
OK, that means this first idea that we get because of all here, I only want to display one.
So here I only want to display one.
Right so far this year I want to go on to make it as a fast.
So that means that we only get that fast data.
So I get our first data and take the things with this variable now and want to pass this data in our
contact space without using the compact.
So with this using the compact here, I simply pass it.
So here I am using the DB.
So if you use that DB also here, we have to update it.
So if you go through a broad into the way brought here, you can see the relative use.
So I copy it.
And now here, make that sure you add this DB.
OK, so now I successfully updated it and getting all the data posted on that page, that means in our
contact base.
So now with this contact better able to make the contacts.
OK.
I want to make it to the contacts then be better.
So there is a context.
I pass it.
So now I want to do learn to use this data in our contact page.
Now go to our contact phase.
I copied the radio contact phase and that is our location right now than they did.
I remove it and here with this contact.
Right.
So I already get all the data and the things with this variable and here I pass it in our in contact
base.
So now with this contact, I want to do and visible our all the feed.
So that will be our address.
Will that means there is a closure.
I just feel better.
I go to structure.
That is our address.
We'll copy it.
And now here it'll be displayed the address I want.
So all the visible that email address and the visible that phone number that means with this contact
and the visible that email.
So that will be displayed that email data and that will be displayed our phone data.
Right.
So here it we display that phone data.
Perfect.
So now let's take this out of the Savol.
And now if you go and now if you refresh it.
So that is actually our previous data.
So right now, click refresh.
Yes, you can see for now that is a envy that actually comes from our database, so that is our database,
our data system, getting all that data and you can see it on display at that location, that email
address.
And there is a form.
And that means if you are sure you like here, I want to add in another one and instead another one
is the contact email the rate, OK, at the rate Gmail dot com.
And I also want another contact, Sibosado, another address.
So that is I inserted another data, but if you click on the submit you can see the lower end of the
data.
But if you go to a database, if you go to refresh, you can see there is actually another data.
But here I have already declared that part.
I have already declared that is to we get this data from our contacts table, only the first data.
OK, so right now, if you refresh it like I show you, if you click refresh.
Now, if an Eastern filling out these fast data, that means right now there is a one sided data he'll
get.
OK, which data is actually the first position this data will get and it should be displayed on here,
I hope is very much clear to you who I am actually using that fast.
OK, so with this fast you can actually manage it.
So right now here, we don't need this data to remove this data from here.
But as I told you, friend, that is your task to create that edit and the Dilek portion.
So if you refresh it.
Gave you a refresher.
You can see there is a clue on that, so there is an edit and that is your part.
So make sure you done this work, OK?
And let me know about it.
So here you go.
We successfully make this part as a dynamic right now.
We can actually update it everything from our days back in.
Right.
So in our next video and we discuss about the have also on the form.
So here from this position, any user actually put any data that suggests we have to do we have to insert
this that into the database and then we have to do we have to get this data and visibility in our admin
panel so we can do that work.
In our next video, I will show you that things with a live example.
So thanks for watching.
I'll see you next video.