my form code:
<p>{!!Form::open(array("","id"=>"form"))!!}</p>
<p>Initial barcode :  </p>
<p>{!! Form::text('initialbarcode',array("id"=>"initialbarcode"))!!}</p>
<p>Barcode3 :  </p>
<p>{!! Form::text('barcode3',array("id"=>"barcode3"))!!}</p>
<p>Quantity :  </p>
<p>{!! Form::text('qty',array("id"=>"qty"))!!}</p>
<p>Kgs :  </p>
<p>{!! Form::text('kgs',array("id"=>"kgs"))!!}</p>
<p>Price :  </p>
<p>{!! Form::text('price',array("id"=>"price"))!!}</p>
<p>{!! Form::text('name',array("id"=>"name"))!!}</p>
<p><select name="category" id="category"></p>
@foreach($options as $option)
<option>{{$option->category}}</option>
@endforeach
</select>
<p>{!! Form::close()!!}</p>
Here this code returns following error : htmlentities() expects parameter 1 to be string, array given (View: C:\Users\Toshiba\farmzop\resources\views\nonfz\nonfz.blade.php)
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire