Laravel data with Modal












0















I'm using Laravel and mysql. I'm trying to create a view that show my data in a bootstrap modal for each row alone



I have put a trigger button in a specific column that each row have it's own one
but my problem is that I get the data of the last row in my table (in the database) for each row (I mean the same data is repeating itself on my modal even if I click on the second row button).



This is my modal:



<!-- Modal -->
<div class="modal fade" id="exampleModalCenter" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalCenterTitle">Modal title</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<div class="table-responsive">
<div hidden class=" tablesaw-bar tablesaw-mode-stack"></div>
<table border="1px"class="tablesaw tablesaw-stack" data-tablesaw-mode="stack">
<head>
<tr>

<th>User name</th>

</tr>
</head>
<body>

<tr>

<td>{{$user->name}}</td>
</tr>

</body>
</table>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary">Save changes</button>
</div>
</div>
</div>
</div>


and this is my button



<td>
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModalCenter">
Show data
</button>
</td>




Solved



Thanks the solution as Jeff referred to is to use the id of my object I don't know how to explain it But I have put the modal in my element so it's working now following Jeff's solution.



@foreach($sujets as $sujet)
<tr>
<td>{{$sujet->nomsujet}}</td>
<td>
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModalCenter{{$sujet->id}}">
show data
</button>
<!-- Modal -->
<div class="modal fade" id="exampleModalCenter{{$sujet->id}}" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalCenterTitle">Modal title</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<div class="table-responsive">
<div hidden class=" tablesaw-bar tablesaw-mode-stack"></div>
<table border="1px"class="tablesaw tablesaw-stack" data-tablesaw-mode="stack">
<head>
<tr>
<th>Date </th>
</tr>
</head>
<body>

<tr>
<td>{{$sujet->date}}</td>
</tr>

</body>
</table>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>

</td>

</tr>
@endforeach









share|improve this question

























  • Please move your solution to an answer of its own, thank you.

    – Cœur
    Dec 31 '18 at 7:59
















0















I'm using Laravel and mysql. I'm trying to create a view that show my data in a bootstrap modal for each row alone



I have put a trigger button in a specific column that each row have it's own one
but my problem is that I get the data of the last row in my table (in the database) for each row (I mean the same data is repeating itself on my modal even if I click on the second row button).



This is my modal:



<!-- Modal -->
<div class="modal fade" id="exampleModalCenter" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalCenterTitle">Modal title</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<div class="table-responsive">
<div hidden class=" tablesaw-bar tablesaw-mode-stack"></div>
<table border="1px"class="tablesaw tablesaw-stack" data-tablesaw-mode="stack">
<head>
<tr>

<th>User name</th>

</tr>
</head>
<body>

<tr>

<td>{{$user->name}}</td>
</tr>

</body>
</table>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary">Save changes</button>
</div>
</div>
</div>
</div>


and this is my button



<td>
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModalCenter">
Show data
</button>
</td>




Solved



Thanks the solution as Jeff referred to is to use the id of my object I don't know how to explain it But I have put the modal in my element so it's working now following Jeff's solution.



@foreach($sujets as $sujet)
<tr>
<td>{{$sujet->nomsujet}}</td>
<td>
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModalCenter{{$sujet->id}}">
show data
</button>
<!-- Modal -->
<div class="modal fade" id="exampleModalCenter{{$sujet->id}}" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalCenterTitle">Modal title</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<div class="table-responsive">
<div hidden class=" tablesaw-bar tablesaw-mode-stack"></div>
<table border="1px"class="tablesaw tablesaw-stack" data-tablesaw-mode="stack">
<head>
<tr>
<th>Date </th>
</tr>
</head>
<body>

<tr>
<td>{{$sujet->date}}</td>
</tr>

</body>
</table>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>

</td>

</tr>
@endforeach









share|improve this question

























  • Please move your solution to an answer of its own, thank you.

    – Cœur
    Dec 31 '18 at 7:59














0












0








0


1






I'm using Laravel and mysql. I'm trying to create a view that show my data in a bootstrap modal for each row alone



I have put a trigger button in a specific column that each row have it's own one
but my problem is that I get the data of the last row in my table (in the database) for each row (I mean the same data is repeating itself on my modal even if I click on the second row button).



This is my modal:



<!-- Modal -->
<div class="modal fade" id="exampleModalCenter" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalCenterTitle">Modal title</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<div class="table-responsive">
<div hidden class=" tablesaw-bar tablesaw-mode-stack"></div>
<table border="1px"class="tablesaw tablesaw-stack" data-tablesaw-mode="stack">
<head>
<tr>

<th>User name</th>

</tr>
</head>
<body>

<tr>

<td>{{$user->name}}</td>
</tr>

</body>
</table>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary">Save changes</button>
</div>
</div>
</div>
</div>


and this is my button



<td>
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModalCenter">
Show data
</button>
</td>




Solved



Thanks the solution as Jeff referred to is to use the id of my object I don't know how to explain it But I have put the modal in my element so it's working now following Jeff's solution.



@foreach($sujets as $sujet)
<tr>
<td>{{$sujet->nomsujet}}</td>
<td>
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModalCenter{{$sujet->id}}">
show data
</button>
<!-- Modal -->
<div class="modal fade" id="exampleModalCenter{{$sujet->id}}" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalCenterTitle">Modal title</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<div class="table-responsive">
<div hidden class=" tablesaw-bar tablesaw-mode-stack"></div>
<table border="1px"class="tablesaw tablesaw-stack" data-tablesaw-mode="stack">
<head>
<tr>
<th>Date </th>
</tr>
</head>
<body>

<tr>
<td>{{$sujet->date}}</td>
</tr>

</body>
</table>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>

</td>

</tr>
@endforeach









share|improve this question
















I'm using Laravel and mysql. I'm trying to create a view that show my data in a bootstrap modal for each row alone



I have put a trigger button in a specific column that each row have it's own one
but my problem is that I get the data of the last row in my table (in the database) for each row (I mean the same data is repeating itself on my modal even if I click on the second row button).



This is my modal:



<!-- Modal -->
<div class="modal fade" id="exampleModalCenter" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalCenterTitle">Modal title</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<div class="table-responsive">
<div hidden class=" tablesaw-bar tablesaw-mode-stack"></div>
<table border="1px"class="tablesaw tablesaw-stack" data-tablesaw-mode="stack">
<head>
<tr>

<th>User name</th>

</tr>
</head>
<body>

<tr>

<td>{{$user->name}}</td>
</tr>

</body>
</table>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary">Save changes</button>
</div>
</div>
</div>
</div>


and this is my button



<td>
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModalCenter">
Show data
</button>
</td>




Solved



Thanks the solution as Jeff referred to is to use the id of my object I don't know how to explain it But I have put the modal in my element so it's working now following Jeff's solution.



@foreach($sujets as $sujet)
<tr>
<td>{{$sujet->nomsujet}}</td>
<td>
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModalCenter{{$sujet->id}}">
show data
</button>
<!-- Modal -->
<div class="modal fade" id="exampleModalCenter{{$sujet->id}}" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalCenterTitle">Modal title</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<div class="table-responsive">
<div hidden class=" tablesaw-bar tablesaw-mode-stack"></div>
<table border="1px"class="tablesaw tablesaw-stack" data-tablesaw-mode="stack">
<head>
<tr>
<th>Date </th>
</tr>
</head>
<body>

<tr>
<td>{{$sujet->date}}</td>
</tr>

</body>
</table>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>

</td>

</tr>
@endforeach






laravel modal-dialog






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 31 '18 at 7:59









Cœur

18.1k9108148




18.1k9108148










asked Nov 21 '18 at 13:28









Mehdi El AissiMehdi El Aissi

94




94













  • Please move your solution to an answer of its own, thank you.

    – Cœur
    Dec 31 '18 at 7:59



















  • Please move your solution to an answer of its own, thank you.

    – Cœur
    Dec 31 '18 at 7:59

















Please move your solution to an answer of its own, thank you.

– Cœur
Dec 31 '18 at 7:59





Please move your solution to an answer of its own, thank you.

– Cœur
Dec 31 '18 at 7:59












2 Answers
2






active

oldest

votes


















0














Your modal ID needs to be unique for each row. In your modal code, it could be labeled id="exampleModalCenter{{$user->id}}"



Then your buttons would be data-target="#exampleModalCenter{{$user->id}}"






share|improve this answer
























  • Thanks I followed your sulotion now only the last button is working

    – Mehdi El Aissi
    Nov 21 '18 at 13:44











  • Are you printing the modal once? You need modal code for every row. You could put it right next to the button

    – Jeff
    Nov 21 '18 at 13:47











  • Oh I fuggered it ou thanks I had just to put the model in an element so i can have many modals instead of only one now it's working perfectly

    – Mehdi El Aissi
    Nov 21 '18 at 13:50











  • Thank you Jeff it's working I have edited my post so people can find the solution if they need it

    – Mehdi El Aissi
    Nov 21 '18 at 13:56



















0














If each button refers to the same modal, you will see the same modal any time a button is pressed. Can you confirm you have multiple buttons, each referring to the same modal (#exampleModalCenter)? If so I can help from there.






share|improve this answer
























  • yes it's the same button

    – Mehdi El Aissi
    Nov 21 '18 at 13:40











  • Ok. Can you please share the code which generates the buttons based on the data returned from your database?

    – Nick Dawes
    Nov 21 '18 at 14:13











  • Hello Nick I have shared the code I edited my question and solved the problem thank you

    – Mehdi El Aissi
    Nov 21 '18 at 14:15











  • Awesome, good luck!

    – Nick Dawes
    Nov 21 '18 at 14:17











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53413112%2flaravel-data-with-modal%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














Your modal ID needs to be unique for each row. In your modal code, it could be labeled id="exampleModalCenter{{$user->id}}"



Then your buttons would be data-target="#exampleModalCenter{{$user->id}}"






share|improve this answer
























  • Thanks I followed your sulotion now only the last button is working

    – Mehdi El Aissi
    Nov 21 '18 at 13:44











  • Are you printing the modal once? You need modal code for every row. You could put it right next to the button

    – Jeff
    Nov 21 '18 at 13:47











  • Oh I fuggered it ou thanks I had just to put the model in an element so i can have many modals instead of only one now it's working perfectly

    – Mehdi El Aissi
    Nov 21 '18 at 13:50











  • Thank you Jeff it's working I have edited my post so people can find the solution if they need it

    – Mehdi El Aissi
    Nov 21 '18 at 13:56
















0














Your modal ID needs to be unique for each row. In your modal code, it could be labeled id="exampleModalCenter{{$user->id}}"



Then your buttons would be data-target="#exampleModalCenter{{$user->id}}"






share|improve this answer
























  • Thanks I followed your sulotion now only the last button is working

    – Mehdi El Aissi
    Nov 21 '18 at 13:44











  • Are you printing the modal once? You need modal code for every row. You could put it right next to the button

    – Jeff
    Nov 21 '18 at 13:47











  • Oh I fuggered it ou thanks I had just to put the model in an element so i can have many modals instead of only one now it's working perfectly

    – Mehdi El Aissi
    Nov 21 '18 at 13:50











  • Thank you Jeff it's working I have edited my post so people can find the solution if they need it

    – Mehdi El Aissi
    Nov 21 '18 at 13:56














0












0








0







Your modal ID needs to be unique for each row. In your modal code, it could be labeled id="exampleModalCenter{{$user->id}}"



Then your buttons would be data-target="#exampleModalCenter{{$user->id}}"






share|improve this answer













Your modal ID needs to be unique for each row. In your modal code, it could be labeled id="exampleModalCenter{{$user->id}}"



Then your buttons would be data-target="#exampleModalCenter{{$user->id}}"







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 21 '18 at 13:35









JeffJeff

15.2k13354




15.2k13354













  • Thanks I followed your sulotion now only the last button is working

    – Mehdi El Aissi
    Nov 21 '18 at 13:44











  • Are you printing the modal once? You need modal code for every row. You could put it right next to the button

    – Jeff
    Nov 21 '18 at 13:47











  • Oh I fuggered it ou thanks I had just to put the model in an element so i can have many modals instead of only one now it's working perfectly

    – Mehdi El Aissi
    Nov 21 '18 at 13:50











  • Thank you Jeff it's working I have edited my post so people can find the solution if they need it

    – Mehdi El Aissi
    Nov 21 '18 at 13:56



















  • Thanks I followed your sulotion now only the last button is working

    – Mehdi El Aissi
    Nov 21 '18 at 13:44











  • Are you printing the modal once? You need modal code for every row. You could put it right next to the button

    – Jeff
    Nov 21 '18 at 13:47











  • Oh I fuggered it ou thanks I had just to put the model in an element so i can have many modals instead of only one now it's working perfectly

    – Mehdi El Aissi
    Nov 21 '18 at 13:50











  • Thank you Jeff it's working I have edited my post so people can find the solution if they need it

    – Mehdi El Aissi
    Nov 21 '18 at 13:56

















Thanks I followed your sulotion now only the last button is working

– Mehdi El Aissi
Nov 21 '18 at 13:44





Thanks I followed your sulotion now only the last button is working

– Mehdi El Aissi
Nov 21 '18 at 13:44













Are you printing the modal once? You need modal code for every row. You could put it right next to the button

– Jeff
Nov 21 '18 at 13:47





Are you printing the modal once? You need modal code for every row. You could put it right next to the button

– Jeff
Nov 21 '18 at 13:47













Oh I fuggered it ou thanks I had just to put the model in an element so i can have many modals instead of only one now it's working perfectly

– Mehdi El Aissi
Nov 21 '18 at 13:50





Oh I fuggered it ou thanks I had just to put the model in an element so i can have many modals instead of only one now it's working perfectly

– Mehdi El Aissi
Nov 21 '18 at 13:50













Thank you Jeff it's working I have edited my post so people can find the solution if they need it

– Mehdi El Aissi
Nov 21 '18 at 13:56





Thank you Jeff it's working I have edited my post so people can find the solution if they need it

– Mehdi El Aissi
Nov 21 '18 at 13:56













0














If each button refers to the same modal, you will see the same modal any time a button is pressed. Can you confirm you have multiple buttons, each referring to the same modal (#exampleModalCenter)? If so I can help from there.






share|improve this answer
























  • yes it's the same button

    – Mehdi El Aissi
    Nov 21 '18 at 13:40











  • Ok. Can you please share the code which generates the buttons based on the data returned from your database?

    – Nick Dawes
    Nov 21 '18 at 14:13











  • Hello Nick I have shared the code I edited my question and solved the problem thank you

    – Mehdi El Aissi
    Nov 21 '18 at 14:15











  • Awesome, good luck!

    – Nick Dawes
    Nov 21 '18 at 14:17
















0














If each button refers to the same modal, you will see the same modal any time a button is pressed. Can you confirm you have multiple buttons, each referring to the same modal (#exampleModalCenter)? If so I can help from there.






share|improve this answer
























  • yes it's the same button

    – Mehdi El Aissi
    Nov 21 '18 at 13:40











  • Ok. Can you please share the code which generates the buttons based on the data returned from your database?

    – Nick Dawes
    Nov 21 '18 at 14:13











  • Hello Nick I have shared the code I edited my question and solved the problem thank you

    – Mehdi El Aissi
    Nov 21 '18 at 14:15











  • Awesome, good luck!

    – Nick Dawes
    Nov 21 '18 at 14:17














0












0








0







If each button refers to the same modal, you will see the same modal any time a button is pressed. Can you confirm you have multiple buttons, each referring to the same modal (#exampleModalCenter)? If so I can help from there.






share|improve this answer













If each button refers to the same modal, you will see the same modal any time a button is pressed. Can you confirm you have multiple buttons, each referring to the same modal (#exampleModalCenter)? If so I can help from there.







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 21 '18 at 13:32









Nick DawesNick Dawes

919




919













  • yes it's the same button

    – Mehdi El Aissi
    Nov 21 '18 at 13:40











  • Ok. Can you please share the code which generates the buttons based on the data returned from your database?

    – Nick Dawes
    Nov 21 '18 at 14:13











  • Hello Nick I have shared the code I edited my question and solved the problem thank you

    – Mehdi El Aissi
    Nov 21 '18 at 14:15











  • Awesome, good luck!

    – Nick Dawes
    Nov 21 '18 at 14:17



















  • yes it's the same button

    – Mehdi El Aissi
    Nov 21 '18 at 13:40











  • Ok. Can you please share the code which generates the buttons based on the data returned from your database?

    – Nick Dawes
    Nov 21 '18 at 14:13











  • Hello Nick I have shared the code I edited my question and solved the problem thank you

    – Mehdi El Aissi
    Nov 21 '18 at 14:15











  • Awesome, good luck!

    – Nick Dawes
    Nov 21 '18 at 14:17

















yes it's the same button

– Mehdi El Aissi
Nov 21 '18 at 13:40





yes it's the same button

– Mehdi El Aissi
Nov 21 '18 at 13:40













Ok. Can you please share the code which generates the buttons based on the data returned from your database?

– Nick Dawes
Nov 21 '18 at 14:13





Ok. Can you please share the code which generates the buttons based on the data returned from your database?

– Nick Dawes
Nov 21 '18 at 14:13













Hello Nick I have shared the code I edited my question and solved the problem thank you

– Mehdi El Aissi
Nov 21 '18 at 14:15





Hello Nick I have shared the code I edited my question and solved the problem thank you

– Mehdi El Aissi
Nov 21 '18 at 14:15













Awesome, good luck!

– Nick Dawes
Nov 21 '18 at 14:17





Awesome, good luck!

– Nick Dawes
Nov 21 '18 at 14:17


















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53413112%2flaravel-data-with-modal%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

MongoDB - Not Authorized To Execute Command

How to fix TextFormField cause rebuild widget in Flutter

Npm cannot find a required file even through it is in the searched directory