title: Laravel: Add data to the $request->all()
body: <p>I wan to add the sector id to the request but when I submit the data nothing store on it.
  Here is my code</p>
  
  <pre><code>public function store(QuestionRequest $request)
      {
          $data = $request-&gt;all();
          Question::create($data);
          $sectors =  Sector::lists('id');
          foreach($sectors as $sector){
              CustomizeQuestion::create(array_add($request-&gt;all(), 'sector_id', $sector));
          }
  
          flash()-&gt;success('New question has been added.');
          return redirect('questions');
      }
  </code></pre>
  
  <p>I have tried this code also but it is the same :</p>
  
  <pre><code>public function store(QuestionRequest $request)
      {
          $data = $request-&gt;all();
          Question::create($data);
          $sectors =  Sector::lists('id');
          foreach($sectors as $sector){
              $data['sector_id'] = $sector;
              CustomizeQuestion::create($data);
          }
  
          flash()-&gt;success('New question has been added.');
          return redirect('questions');
      }
  </code></pre>