Analyse -> Cannot resolve file 'EXTERNAL_FRAGMENT'
For this code:
<?php
foreach($Bandeaux as $Bandeau) {
$url = "/img/".$Bandeau['Lien_Image'];
echo "<div style='background-image: url($url);'></div>";
}
?>
Run "Analyse" -> "Inspect code" return "Cannot resolve file 'EXTERNAL_FRAGMENT'" for $url.
I have no idea what i can do for revise this code.
请先登录再写评论。
I don't get the EXTERNAL_FRAGMENT message, instead, the IDE warns me that it can't resolve the filename which is expected - there's no way it can be aware of the array contents to figure out the URL: https://prnt.sc/srkpqz