bonjour
Je tourne pour comprendre pourquoi ma photo ne s'affiche pas.
Je dois afficher une photo , elle existe dans le dossier et le chemin est bien celui là
Qui peut m'expliquer?
Merci
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 <div id="photo-M"> <? $tab_photos=array(); $chem_photo = 'chef/'.$id_bouille.'.jpg'; if(file_exists($chem_photo)) { $tab_photos[]=array($chem_photo); echo ' <img src="'.$id_bouille.'" width="150" height="190"/> '; } ?> </div>
Partager