par
marih » 07 nov. 2016, 16:10
Hello Moogli,
j'ai fait un exemple simple qui ne fonctionne pas et qui montre ce qui se passe.
2 choses:
1- les variables que j'ai initialisées ne sont pas passées,
2- tout ce qui est "ech (" balabla..."); est affiché à l'écran après exécution,
3- les programmes html fonctionnent bien.
Test
-----------------------------------------------------------------
<HTML>
<HEAD>
<TITLE>EchangeAccord</TITLE>
</HEAD>
<BODY BGCOLOR="#FEE7BC">
<?php
/* Initialisation des variables */
$TypeObliteration = "Lettres";
$Pays = "France";
/* fin d'initialisation */
echo "<P><FONT FACE='Comic Sans MS' COLOR='#009900'><B>Pays 1 = $Pays</B></FONT></P></CENTER>";
?>
<P><FONT FACE='Comic Sans MS' COLOR='#009900'><B>Pays 2 = $Pays</B></FONT></P></CENTER>
<P><FONT FACE='Comic Sans MS' COLOR='#009900'><B>Type Obliteration = $TypeObliteration </B></FONT></P></CENTER>
<P><TABLE BORDER=1>
<TR>
<TD WIDTH=371>
<CENTER><FONT FACE="Comic Sans MS" COLOR="#CC0000"><B>Accord</B></FONT>
<P><FONT FACE="Comic Sans MS" COLOR="#009900"><B>Merci
d'attendre que je vous recontacte </B></FONT></P></CENTER>
</TD>
<TD WIDTH=372>
<CENTER><FONT FACE="Comic Sans MS" COLOR="#CC0000"><B>Agreement</B></FONT>
<P><FONT FACE="Comic Sans MS" COLOR="#009900"><B>Thanks to
wait agreement by return of e-mail </B></FONT></P></CENTER>
</TD>
</TR>
</TABLE>
</P>
</BODY>
</HTML>
------------------------------------------------------
résultat:
--------------------------------------------------------
Pays 1 = $Pays
"; ?>
Pays 2 = $Pays
Type Obliteration = $TypeObliteration
Accord
Merci d'attendre que je vous recontacte
Agreement
Thanks to wait agreement by return of e-mail
------------------------------------------------------------------------------------------------------
Remarque les mots Accord et Agreement sont bien encadrés.
merci de ton aide toujours efficace et bien veillante
Hello Moogli,
j'ai fait un exemple simple qui ne fonctionne pas et qui montre ce qui se passe.
2 choses:
1- les variables que j'ai initialisées ne sont pas passées,
2- tout ce qui est "ech (" balabla..."); est affiché à l'écran après exécution,
3- les programmes html fonctionnent bien.
Test
-----------------------------------------------------------------
<HTML>
<HEAD>
<TITLE>EchangeAccord</TITLE>
</HEAD>
<BODY BGCOLOR="#FEE7BC">
<?php
/* Initialisation des variables */
$TypeObliteration = "Lettres";
$Pays = "France";
/* fin d'initialisation */
echo "<P><FONT FACE='Comic Sans MS' COLOR='#009900'><B>Pays 1 = $Pays</B></FONT></P></CENTER>";
?>
<P><FONT FACE='Comic Sans MS' COLOR='#009900'><B>Pays 2 = $Pays</B></FONT></P></CENTER>
<P><FONT FACE='Comic Sans MS' COLOR='#009900'><B>Type Obliteration = $TypeObliteration </B></FONT></P></CENTER>
<P><TABLE BORDER=1>
<TR>
<TD WIDTH=371>
<CENTER><FONT FACE="Comic Sans MS" COLOR="#CC0000"><B>Accord</B></FONT>
<P><FONT FACE="Comic Sans MS" COLOR="#009900"><B>Merci
d'attendre que je vous recontacte </B></FONT></P></CENTER>
</TD>
<TD WIDTH=372>
<CENTER><FONT FACE="Comic Sans MS" COLOR="#CC0000"><B>Agreement</B></FONT>
<P><FONT FACE="Comic Sans MS" COLOR="#009900"><B>Thanks to
wait agreement by return of e-mail </B></FONT></P></CENTER>
</TD>
</TR>
</TABLE>
</P>
</BODY>
</HTML>
------------------------------------------------------
résultat:
--------------------------------------------------------
Pays 1 = $Pays
"; ?>
Pays 2 = $Pays
Type Obliteration = $TypeObliteration
Accord
Merci d'attendre que je vous recontacte
Agreement
Thanks to wait agreement by return of e-mail
------------------------------------------------------------------------------------------------------
Remarque les mots Accord et Agreement sont bien encadrés.
merci de ton aide toujours efficace et bien veillante