Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Delete a single record in laravel 5

<form action="{{ url('employee' , $employee->id ) }}" method="POST">
    {{ csrf_field() }}
    {{ method_field('DELETE') }}
    <button>Delete Employee</button>
</form>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Delete #single #record #laravel
ADD COMMENT
Topic
Name
2+4 =