Bonjour Imikado
j'ai un problème au niveau de l'affichage de mes données avec la photo.
Dans mon projet de recherche j'ai ma vue suivante :
A l’exécution toute la ligne s'affiche sauf la photo. En effet j'ai un tout petit cadre à la place de la photo. En faisant bouton droit sur le cadre je récupère bien le chemin d’accès de la photo :
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
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40 <form action=" " method="POST"> <label>Entrer le Matricule : </label><input type="text" name="recherche"/><input type="submit" value="rechercher"/> </form> <?php if($this->tMESINFORMATIONS):?> <h2>Liste des résultats</h2> <table> <tr> <th>Code Ecole</th> <th>Matricule</th> <th>Nom</th> <th>Prenoms</th> <th>Né(e) le</th> <th>Lieu</th> <th>Niveau</th> <th>Filière</th> <th>Ufr</th> <th>Année</th> </tr> <?php foreach($this->tMESINFORMATIONS as $oMESINFORMATIONS):?> <tr> <th><?php echo $oMESINFORMATIONS->PROJETNOM ?></th> <th><?php echo $oMESINFORMATIONS->CHAMP1 ?></th> <th><?php echo $oMESINFORMATIONS->CHAMP2 ?></th> <th><?php echo $oMESINFORMATIONS->CHAMP3 ?></th> <th><?php echo $oMESINFORMATIONS->CHAMP4 ?></th> <th><?php echo $oMESINFORMATIONS->CHAMP5 ?></th> <th><?php echo $oMESINFORMATIONS->CHAMP6 ?></th> <th><?php echo $oMESINFORMATIONS->CHAMP7 ?></th> <th><?php echo $oMESINFORMATIONS->CHAMP8 ?></th> <th><?php echo $oMESINFORMATIONS->EXOENCOURS ?></th> <th><img src="<?php echo $oMESINFORMATIONS->CHEMINFOTO ?>"/></th> // lien d'affichage de ma photo </tr> <?php endforeach;?> </table> <?php elseif(_root::getRequest()->isPost()):?> <h2>Liste des résultats</h2> <p>Pas de Résultats</p> <?php endif;?>
je comprend pas pourquoi la photo ne s'affiche pas.c:\EVOLIS\PHOTOS\PHOTOS%20USTCI\354.jpg
merci
Partager