how to save checkbox values into database field using laravel
<p>Im trying to store  all the inputs from the checkboxes to the database using Laravel. the checkbox values should be stored into database separated by a comma. how to do it? and how to write the controller method</p>

<h3>4. How would you describe your style? Check all that apply </h3>

<pre><code>&lt;div class="checkbox"&gt;&lt;label&gt;&lt;input type="checkbox" value="Casual"&gt;Casual&lt;/label&gt;&lt;/div&gt;
&lt;div class="checkbox"&gt;&lt;label&gt;&lt;input type="checkbox" value="City/Urban"&gt;City/Urban&lt;/label&gt;&lt;/div&gt;
&lt;div class="checkbox"&gt;&lt;label&gt;&lt;input type="checkbox" value="Country/Cottage Chic"&gt;Country/Cottage Chic&lt;/label&gt;&lt;/div&gt;
&lt;div class="checkbox"&gt;&lt;label&gt;&lt;input type="checkbox" value="Eclectic"&gt;Eclectic&lt;/label&gt;&lt;/div&gt;
</code></pre>