mardi 26 décembre 2017

How to get Data from previous page in Laravel

So, i have some categories. And in each category you can add posts.

But in form page for adding posts, how to get the value of that category i.e. of previous page?

This is my form:

<div class="container">
    {!! Form::open(['action' => 'TopicController@store', 'method' => 'POST']) !!}
        <div class="form-group">
            
            
        </div>
        <div class="form-group">
            
            
        </div>
        
    {!! Form::close() !!}
</div>

show.blade.php contains link to this form page. But to get the id of the category page that is referring to this form??



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2lfN8GS
via IFTTT

Aucun commentaire:

Enregistrer un commentaire