Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Exception in UI \ view in section that is in comment – HTML PHP Laravel

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> -->

and this is the exception:
enter image description here

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>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'] ?? ''}}"
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading