Bonjour,

je souhaite indiquer en dur dans un fichier HTML la valeur 14 à la place de la variable announcments_row interpréter elle par php ... (c'est un fichier qui vient d'un template phpbb 3.04)

dans le code ci dessous

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
<!-- BEGIN announcments_row -->
<br />
<table class="tablebg" width="100%" cellspacing="1">
<tr>
<th  class="cat_block">{announcments_row.TITLE}</th>
</tr>
		<td>
			<table width="100%" class="row2">					
				<tr>
					<td>		
							<!-- IF announcments_row.S_POLL -->{L_POLL}:<!-- ENDIF -->
							<a href="{announcments_row.U_VIEW_COMMENTS}"</a>
					</td>
				</tr>
				<tr>
					<td class="block_center">		
							<br /><br />{announcments_row.TEXT}
							<span style="float: right;">{announcments_row.OPEN}</span>	
							<a href="{announcments_row.U_READ_FULL}">{announcments_row.L_READ_FULL}</a>
							{announcments_row.CLOSE}
					</td>
				</tr>
 
			</table>
		</td>
</table>
<!-- END announcments_row -->
j'ai déja essayé de remplacer :

{announcments_row.TITLE} par 14.{TITLE}
{announcments_row.TITLE} par {14.TITLE}
{announcments_row.TITLE} par {"14".TITLE}

le but de cette page: créer une annonce sur le forum et l'afficher sur un portail, announcments_row=numéro du forum ou est fait l'annonce, chez moi c'est le 14

J'espère poster ca dans le bon forum ...

Merci d'avance