<?php foreach($rows as $row) {?> <input id="sort_order_<?php echo $row; ?>"> <?php } ?> 

Netbins says that they say a bad value for idi, since this attribute should not have empty spaces (whitespaces). The same thing happens with name. Tell me where it can be corrected?

  • It is unlikely that you will be able to interfere with the standards laid down in someone else's ide, usually you are only allowed to completely disable the check. - perfect
  • Bullshit doesn't swear at work, versions and set of plugins are the same - iyaki
  • <? php foreach ($ rows as $ row) echo "<input id = \" sort_order_ $ row \ ">"; ?> - Sergey
  • @Sergey do not consider special cases. - perfect
  • one
    @iyaki and the operating systems are the same? if yes then copy the settings from the version at work. perhaps there is another level of verification (you can probably change it in the IDE settings). - perfect

1 answer 1

The problem was in the definition of the file. If anyone encounters this, it is solved like this: Service / Options / Miscellaneous / Files

File extension: tpl

Associated file type (MIME): text / 5-php

Stood text / html - he cursed

It's funny that the transfer of settings for this for some reason did not affect.