サーバーに画像が存在しますが、次のコードを使用して画像を検索または表示できません
$myimages='/uk/images/7.jpg';
echo $myimages;
echo '<img src="'; echo $myimage; echo '">';
if (file_exists($myimages)) {
echo "The file $myimages exists";
}
else {
echo "The file $myimages does not exist";
$myimages=$info['aw_image_url'];
echo $myimages;
}
コードは常に戻りThe file doesn't exist
、画像を表示しません。コードの何が問題になっていますか?