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?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire