title: How to store radio button value in database using laravel
body: <p>I am creating a form, in which I have used radio buttons. For storing radio button's value in database I am using boolean as a datatype, but after submitting form value stored in database is always 0.</p>
  
  <p>here is my code:</p>
  
  <p><strong>blade:</strong> </p>
  
  <pre><code>&lt;div class="form-group"&gt;
      {!! Form::label('is_kids_only','Kids Only:') !!}
      {!! Form::radio('kidsonly', 'true', null),'&amp;nbsp', 'Yes' !!}
      {!! Form::radio('kidsonly', 'false', null),'&amp;nbsp','No' !!}
  &lt;/div&gt;
  </code></pre>
  
  <p><strong>Controller:</strong></p>
  
  <pre><code>public function store(EventRequest $request) {
       Event::create($request-&gt;all());
       return redirect('event'); 
  }
  </code></pre>
  
  <p>What can I do, to store the value in database, and when I edit that form, it  should auto select radio button according to database value.</p>