Skip to content
Advertisement

Tag: laravel-routing

Laravel 5.1 Delete a row from database

I am trying to delete a category by clicking on a button Blade: Route: Controller: but I am getting an error while clicking on a button that Any help appreciated. Answer The ::find($id) method expects $id to be a number, the primary key of the row you want to find. If you want to delete a row by name, you

Advertisement