I have a question, and I am new to laravel and html.
I have a view, and in the view I have a certain code that is in comment.
when I try to load the page it throws exception on this part of code, But why? If I remove the code completely it worked, so why the page loads the comments?
this the code:
<!-- <td> Removed in and not to use
<input type="text" class="table-control p-r-20" name="dsp_fee_pct" value="{{$dsp_account['dsp_fee_pct']}}" id="dsp_fee_pct">
<span class="table-control-addon-right">%</span>
</td> -->
>Solution :
Try comment like this :
{{-- <td>
<input type="text" class="table-control p-r-20" name="dsp_fee_pct" value="{{$dsp_account['dsp_fee_pct']}}" id="dsp_fee_pct">
<span class="table-control-addon-right">%</span>
</td> --}}
or change :
value="{{ $dsp_account['dsp_fee_pct'] ?? ''}}"
