Question bête avec pho

Résolu/Fermé
Phpmode - 29 nov. 2008 à 22:04
 Phpmode - 29 nov. 2008 à 22:33
Bonjour,
je voudrais pouvoir afficher mon echo $image mais comment faire?

<table width="353" border="0" cellspacing="0" cellpadding="0">
<tr>
<th height="95" background="clip.jpg" scope="col"><table width="300" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<th width="266" height="23" scope="col"><div align="center">Enter</div></th>
</tr>
</table>
<table width="300" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<th scope="col"> echo $image </div></th>
</tr>
</table>
</th>
</tr>
</table>

Merci pour votre aide.

2 réponses

Utilisateur anonyme
29 nov. 2008 à 22:22
comme ceci :

$file_download= '<table width="353" border="0" cellspacing="0" cellpadding="0">
<tr>
<th height="95" background="clip.jpg" scope="col"><table width="300" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<th width="266" height="23" scope="col"><div align="center">Enter</div></th>
</tr>
</table>
<table width="300" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<th scope="col">'.$image.'</div></th>
</tr>
</table>
</th>
</tr>
</table>'; 
1
Mersi Beaucoup Sonik21!!!! ça Marche nickel!!!
0
muska92 Messages postés 277 Date d'inscription lundi 14 février 2005 Statut Membre Dernière intervention 14 août 2009 42
29 nov. 2008 à 22:10
<table width="353" border="0" cellspacing="0" cellpadding="0">
<tr>
<th height="95" background="clip.jpg" scope="col"><table width="300" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<th width="266" height="23" scope="col"><div align="center">Enter</div></th>
</tr>
</table>
<table width="300" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<th scope="col"> <?php echo $image; ?> </div></th>
</tr>
</table>
</th>
</tr>
</table>
0
Bonjour merci pour la réponse.
Excusez moi mais c'est pas ça. En Faite le code est le suivant:

$file_download= '<table width="353" border="0" cellspacing="0" cellpadding="0">
<tr>
<th height="95" background="clip.jpg" scope="col"><table width="300" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<th width="266" height="23" scope="col"><div align="center">Enter</div></th>
</tr>
</table>
<table width="300" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<th scope="col"> <?php echo $image; ?> </div></th>
</tr>
</table>
</th>
</tr>
</table>';

Dans ce cas là ça ne marche pas.
Comment faire s'il vous plait?
0