I am working on a little project and I need to display the author\'s image for each author in my database. peep the code below:
--THE QUERY--
try
if ( !file_exists( 'images/artists/' . $filename ) ) { $artist_name = 'holderthumbnail'; }
have holderthumbnail.jpg in your 'artists' directory