techker Posted November 4, 2011 Share Posted November 4, 2011 hey guys i have this echo (empty($info['ID_Etudiant'])? "No image": "<img src=Etudiants/".$info['photo'] ." border=0 width=100>"); the echo pic if thee is one in database works.but if there is no pic in database it shows nothing? Link to comment https://forums.phpfreaks.com/topic/250430-echo-image-or-no-image/ Share on other sites More sharing options...
requinix Posted November 4, 2011 Share Posted November 4, 2011 What does var_dump($info['ID_Etudiant']); produce in that case? Link to comment https://forums.phpfreaks.com/topic/250430-echo-image-or-no-image/#findComment-1284887 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.