bonsoir
voila j'ai uncode qui m'occasionne quelques soucis.
grace a un formulaire j'upload une image dans un dossier qui se trouve chez mon hebergeur ( stockages photos membres)
je souhaite ensuite resortir cette image pour l introduire dans un tableau
voici mon code:
c'est l'image en rouge qui m'occasionne le soucis
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 <? echo '<table width="937" height="60" border="0" cellpadding="0" cellspacing="0"> <tr> <td colspan="6"><hr /></td> </tr> <tr> <td width="80" rowspan="3"><img src="images/punaise1.jpg" alt="" width="47" height="44" /></td> ici le pb ..... <td width="80" rowspan="3"><img src= "$url" width="50" height="50" alt="" /></td> <td width="187" height="17"><div align="left">'.stripslashes($donnees_messages['date']).'</td> <td width="327"><div align="left">'.stripslashes($donnees_messages['departement']).'</td> <td width="213"><div align="left">'.stripslashes($donnees_messages['ville']).'</td> <td width="50" colspan="2" rowspan="3"><a href="traitementresultatannonce.php?id='.stripslashes($donnees_messages['id']).'"><img src="images/Icone_loupe.png" width="30" height="30" alt="" /></a></td> </tr> ?>
en sachant que :
merci ..et bonne nuit
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5 <? $nom_fichier = stripslashes($donnees_messages['photo']); $url = ''.$repertoire.''.$nom_fichier.''; $repertoire = 'stockages photos membres/'; ?>
Partager