How to Pass Id in Laravel URL Parameter

<a href={{ URL(‘/students/edit/’.$student->id)}}> <button class=“btn btn-primary”>Edit</button>
</a>

Leave a Comment

Your email address will not be published. Required fields are marked *