Tag Archives: laravel db select

Update a mysql database field with empty value in laravel

Below code explains how to update a db field with null value using Laravel create a database called tbl_employee with few fields as follows.for creating the table you can use the below sql statement.

Created one controller UpdateController and one model called Employee model UpdateController