Pb de concatenation
petinico
-
petinico -
petinico -
bonjour,
pb de concatenation de chaines
je me plante toujours la dessus, comment integrer ma variable dans cette chaine ?
<?
$maj="maj21_09_03";
'<table border="0" width="720" height="300">
<tr>
<td width="140" height="140" border="0" align="center">
<a href="album.php?image=images/'.$maj.'/1.jpg" target="_new"><img src="images/'.$maj.'/1a.jpg" border="0" height="123"></a>
</td>
</tr>
</table>
?>
mon but est de remplacer le "maj..." par une variable pour faciliter mes mises a jour...
merci
petinico
pb de concatenation de chaines
je me plante toujours la dessus, comment integrer ma variable dans cette chaine ?
<?
$maj="maj21_09_03";
'<table border="0" width="720" height="300">
<tr>
<td width="140" height="140" border="0" align="center">
<a href="album.php?image=images/'.$maj.'/1.jpg" target="_new"><img src="images/'.$maj.'/1a.jpg" border="0" height="123"></a>
</td>
</tr>
</table>
?>
mon but est de remplacer le "maj..." par une variable pour faciliter mes mises a jour...
merci
petinico
A voir également:
- Pb de concatenation
- Comment concaténer avec saut de ligne excel - <a href="https://forums.commentcamarche.net/forum/programmation-3">Forum Programmation</a>
- Fusionner plusieurs cellules avec saut de ligne ✓ - <a href="https://forums.commentcamarche.net/forum/excel-145">Forum Excel</a>
- Excel concatener une plage de cellules - <a href="https://forums.commentcamarche.net/forum/excel-145">Forum Excel</a>
- Concaténation excel - Guide
- Concaténation php ✓ - <a href="https://forums.commentcamarche.net/forum/php-155">Forum PHP</a>