title: How to get selected radio button value in Laravel
body: <p>Hi all how to get selected radio button value. I want to store values on my table where selected radio button. </p>
  
  <p>My Controller code passing to View $result</p>
  
  <pre><code>        $result =     DB::table('table')
                                  -&gt;where('name', $name)
                                  -&gt;where('code', $code)
                                  -&gt;get();
  
          return  View::make('home.search_result')            
                         -&gt;with('result', $result);
  </code></pre>
  
  <p>In my view code I had radio button. </p>
  
  <pre><code>{{ Form::open(array('action' =&gt; 'BookingController@postValue',  'class'=&gt;'well', 'method' =&gt; 'GET')) }}         
  &lt;table id="search" class="table table-striped table-hover"&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;&lt;/th&gt;
              &lt;th&gt;Name&lt;/th&gt;
              &lt;th&gt;Code&lt;/th&gt;                                                                                                              
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt; 
          @foreach($result as $result)                                    
              &lt;tr class="success"&gt;    
                  &lt;td&gt;{{ Form::radio('result') }}
                  &lt;td&gt;{{ $result-&gt;name}}&lt;/td&gt;                 
                  &lt;td&gt;{{ $result-&gt;code}}&lt;/td&gt;                 
              &lt;/tr&gt;                       
          @endforeach                           
      &lt;/tfoot&gt;
  &lt;/table&gt;           
  
  {{ Form::submit('Add', array('class' =&gt; 'btn btn-info')) }}         
  {{ Form::close() }}         
  </code></pre>
  
  <p>So I try to pass chechked radio button value to my postValue function when I click Add button.</p>