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? Quote 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? Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.