我从来没有见过这样的东西,所以我假设我的错误代码是选项标签没有被关闭或者
<div class="Ease-wrap"><label>Ease</label> <select id="show_ease_1_1" name="show-ease-1-1" class="show-ease-class"><?php foreach($optionEase as $label => $value) : ?> <option <?php <?php endforeach; ?></select></div><div class="opttion-effect"><div class="options-title">Show Effect</div><select id="show_effect_1_1" name="show-effect-1-1" class="show-effect-class"><?php foreach($optionEffect as $label => $value) : ?> <option <?php <?php endforeach; ?></select></div></div></div><div class="group-2"><div class="options-title"><?php echo __('Hide Transition'); ?></div><div class="options-cont-hide"><label>Start(ms)</label><input type="text" value="0" id="hide_time_1_1" name="hide-time-1-1" class="hide-time-class"/><div style="clear: both"></div><label>Duration(ms)</label><input type="text" value="800" id="hide_duration_1_1" name="hide-duration-1-1" class="hide-duration-class"/><div style="clear: both"></div>
它似乎是语法“<”或“>”
奇怪的是,如果我删除选项或phpstorm中的额外<?php
红色栏仍然保持在那里,就好像它没有解决问题..
你有...
<?php <?php
......在几个地方。
您可以删除副本。