lundi 3 décembre 2018

how can pass variable id to form action in laravel?

I have following form to update category data

<h1>  Category</h1>

            <hr/>
            @if(isset($image))
    <form method="PUT" action="http://localhost:8000/update" enctype="multipart/form-data">
    <input type="hidden" name="_method" value="put">

now I need pass $image-> id to the action

 action="http://localhost:8000/update/ image->id here

how can I do this?



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

Aucun commentaire:

Enregistrer un commentaire