title: for loop not working
body: <p>I have this code I want to always begin from 1 but it is not working it continues 5 6 7 8 and so on. I want the value=<code>{{k}}</code> always start from 1 </p>
  
  <pre><code>  &lt;?php  $k=1;   ?&gt;
        @foreach($answers as $answer)
           @if($answer-&gt;deleted == 0)
            &lt;div class="form-group {{ $errors-&gt;has('options.'.$k) ? ' has-error': '' }}"
                 id="option{{ $k}}"&gt;
              &lt;div class="checkbox col-xs-2 control-label" id="checkbox_control-label"&gt;
                &lt;label&gt;
  
                  &lt;input type="text" name="order[{{ $k }}]" value="{{$k}}" id="input_order"&gt;
  
  
                &lt;/label&gt;
              &lt;/div&gt;
              &lt;div class="col-xs-8"&gt;
                  &lt;input type="text" name="options[{{ $k }}]" value="{{ $answer-&gt;text}}"
                         class="form-control"&gt;
               &lt;div class="col-xs-12"&gt;&lt;/div&gt;
                  &lt;span class="help-block"&gt;
                    &lt;strong&gt;&lt;/strong&gt;
                  &lt;/span&gt;
              &lt;/div&gt;
              &lt;div class="col-xs-2"&gt;
                &lt;button type="button" value="{{ $k }}" class="btn btn-flat btn-default btn-sm"
                        id="delete_option" title="@lang('general.remove_option')"&gt;
                          &lt;i class="fa fa-trash-o" aria-hidden="true"&gt;&lt;/i&gt;
                &lt;/button&gt;
              &lt;/div&gt;
            &lt;/div&gt;  
          @endif
         &lt;?php  $k++; ?&gt;
      @endforeach 
  </code></pre>