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.
There are many possible ways to update the database of checkbox and to do this larval is the best option. Instead of this you can get ideas from coursework help uk to get the correct updates on the database.
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us
The Laravel portal for problem solving, knowledge sharing and community building.