I want to put my input field into Session, it's a POST request But field which I'm taking as input through form will not store into database. How do I set it to Laravel Session.
<input id="moneyReceived" name ="moneyReceived" onchange="payable()" type="text">
{{ Session::put('moneyReceived', $_POST['moneyReceived']) }}
Though It's not stored in Session! Can anyone suggest please?
moneyReceivedin your controller ?moneyReceivedin controller. It's just javascript dependent input field.based on previous input!