$uzanti1= ".jpg" if (strpos($dbdengelenimgadi, $uzanti1) !== false){ echo "img ise <img> etiketiyle ekrana bas"; }