title: Getting dynamic input field in laravel controller
body: <p>In normal situation we get input fields values like <code>$request-&gt;input('input_name')</code> but in my case my input names are dynamic and can be anything (comes from database).</p>
  
  <p>I want to know how can I get data of such inputs?</p>
  
  <h1>Code</h1>
  
  <p>my form input is like:</p>
  
  <pre><code>//1
  &lt;input type="radio" value="{{$opt-&gt;title}}" name="{{$opt-&gt;group-&gt;title}}"&gt;
  //2
  &lt;select name="{{$opt-&gt;group-&gt;title}}" class="form-control"&gt;
  //3
  &lt;input class="options-checkbox" type="checkbox" value="{{$opt-&gt;title}}" name="{{$opt-&gt;group-&gt;title}}[]"&gt;
  </code></pre>
  
  <p>so each of this inputs has different names based on database, and i can't predict their names in controller in order to get their values.</p>
  
  <h1>Test DD</h1>
  
  <pre><code>array:5 [▼
    "_token" =&gt; "QBY0WqF2WdqALxks22zjqpuBwplviHStBzTqzFzD"
    "COLORS" =&gt; "blue" //1
    "tester_group3ffhshg" =&gt; "title 33" //2
    "radio_group" =&gt; array:1 [▼
      0 =&gt; "hi" //3
    ]
    "quantity" =&gt; "1"
  ]
  </code></pre>
  
  <p><strong>Is there anyway to get data from such inputs?</strong></p>