If you wat to update the value of the boolean column based on whether a checkbox is checked you can use the boolean method of the request object.
$archived = $request->boolean('archived');
I Have Done With Retrieving Value Of Checkbox, Now I Have Show All My Data In A Table, That I Have Fetch From Database Using Laravel
Now I Have To Just Update My Checkbox Value In That View Table Only Whenever Someone Click On That Checkbox, The Value Should Get Updated On Database.
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us