Bonjour,
voila j'ai un site en HTML et je voudrais mettre dans un tableau qui ce trouve sur la droite un sondage.
Pour faire cela j'ai télécharger un script déja fait et je voulais savoir comment le mettre.

Voici le code de mon tableau en HTML :
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<!-- TABLEU RUBRIQUE 4 -->
                  <table cellpadding="0" cellspacing="0" border="0">
                    <tr> 
                      <td background="images/d_rubj_50.gif" height="18" style="background-repeat:no-repeat;"><table cellpadding="0" cellspacing="0" border="0" width="100%">
                          <tr> 
                            <td><img src="images/pixtrans.gif" width="3" height="25"></td>
                            <td align="center" class="TITRE" valign="bottom"><b>RUBRIQUE 4</b></td>
                          </tr>
                        </table></td>
                    </tr>
                    <tr> 
                      <td><img src="images/d_rub_54.gif"></td>
                    </tr>
                    <tr> 
                      <td><table cellpadding="0" cellspacing="0" border="0">
                          <tr> 
                            <td><img src="images/d_rubj_59.gif" width="34" height="14"></td>
                            <td class="TEXT" width="100%"><!-- Titre sous menu 1--><a href="#">Sous menu 1</a></td>
                          </tr>
                          <tr> 
                            <td><img src="images/d_rubj_59.gif" width="34" height="14"></td>
                            <td class="TEXT"><!-- Titre sous menu 2--><a href="#">Sous menu 2</a></td>
                          </tr>
                          <tr> 
                            <td><img src="images/d_rubj_59.gif" width="34" height="14"></td>
                            <td class="TEXT"><!-- Titre sous menu 3--><a href="#">Sous menu 3</a></td>
                          </tr>
                          <tr> 
                            <td><img src="images/d_rubj_59.gif" width="34" height="14"></td>
                            <td class="TEXT"><!-- Titre sous menu 4--><a href="#">Sous menu 4</a></td>
                          </tr>
                          <tr> 
                            <td><img src="images/d_rubj_59.gif" width="34" height="14"></td>
                            <td class="TEXT"><!-- Titre sous menu 5--><a href="#">Sous menu 5</a></td>
                          </tr>
                          <tr> 
                            <td><img src="images/d_rubj_59.gif" width="34" height="14"></td>
                            <td class="TEXT"><!-- Titre sous menu 6--><a href="#">Sous menu 6</a></td>
                          </tr>
                        </table></td>
                    </tr>
                    <tr> 
                      <td><img src="images/d_rubj_80.gif" width="156" height="14"></td>
                    </tr>
                  </table> 
                  <br>
                  <!-- FIN TABLEU RUBRIQUE 4-->
donc à la place de tous ce qui a dans ce tableau je voudrais mettre mon sondage.
Voici ce qu'il y a dans mon script :

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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<html>
<head>
<title>Sondage</title>
</head>
<?
if (@file_exists("./Sondage_Qu.php3")) {include("./Sondage_Qu.php3");}
if (@file_exists("./Sondage_Res.php3")) {include("./Sondage_Res.php3");} 
?>
<body>
<?
if ($AjRep) {
	$T[0][$Q0]++;
	$T[1][$Q1]++;
	$T[2][$Q2]++;
 
	$FVok=fopen("Sondage_Res.php3","w");
	if ($FVok)	{
		$IVok=0;
		if (!fwrite($FVok,"<?\n")) $IVok=1;
		reset($T);
		while (list($a) = each($T)) {
			if (!fwrite($FVok,"\$T[$a][0]=".$T[$a][0].";\n")) $IVok=1;
			if (!fwrite($FVok,"\$T[$a][1]=".$T[$a][1].";\n")) $IVok=1;
			if (!fwrite($FVok,"\$T[$a][2]=".$T[$a][2].";\n")) $IVok=1;
			if (!fwrite($FVok,"\n")) $IVok=1;
		}
		if (!fwrite($FVok,"?")) $IVok=1;
		if (!fwrite($FVok,">\n")) $IVok=1;
		echo "";
		if ($IVok) echo "Insertion des donnees dans le fichier échouée";
		if (!fclose($FVok)) echo "Fermeture du fichier Echouée<br>";
	}
	else echo "Echec de la creation du fichier !!!!";
}
?>      
 
 
<div align="center"><center><h1>Sondage :</h1>
 
<!-- Affichage du questionnaire -->
<? if (!$ar) { ?>
<form method="POST" action="index.php3?ar=1">
<table border="2" cellspacing="5" cellpadding="5" bgcolor="#C0C0C0">
<?
while (list($ind, $Qu) = each($Q)) {
?>
	<tr><th width="100%" colspan="3" align="center" nowrap><? echo $Q[$ind]; ?></th></tr>
	<tr>
	<td bgcolor="#008080"><input type="radio" name="Q<? echo $ind; ?>" value="0">&nbsp;<? echo $R[$ind][0]; ?></td>
	<td bgcolor="#008080"><input type="radio" name="Q<? echo $ind; ?>" value="1">&nbsp;<? echo $R[$ind][1]; ?></td>
	<td bgcolor="#008080"><input type="radio" name="Q<? echo $ind; ?>" value="2" checked>&nbsp;<? echo $R[$ind][2]; ?></td>
	</tr>
<?
}
?>
</table>
<p><input type="submit" value="Envoyer" name="AjRep"><input type="reset" value="Effacer" name="B2"><br>
<a href="index.php3?ar=1">Affichez les résultats</a></p>
</form>
<? } ?>
<!-- Affichage des resultats -->
<? if ($ar) { ?>
<table border="2" cellspacing="5" cellpadding="5" bgcolor="#C0C0C0">
<?
reset($Q);
while (list($ind, $Qu) = each($Q)) {
?>
	<tr><th width="100%" colspan="3" align="center" nowrap><? echo $Q[$ind]; ?></th></tr>
	<tr>
	<td bgcolor="#008080"><? echo $R[$ind][0]; ?>&nbsp;:&nbsp;<? echo $T[$ind][0]; ?></td>
	<td bgcolor="#008080"><? echo $R[$ind][1]; ?>&nbsp;:&nbsp;<? echo $T[$ind][1]; ?></td>
	<td bgcolor="#008080"><? echo $R[$ind][2]; ?>&nbsp;:&nbsp;<? echo $T[$ind][2]; ?></td>
	</tr>
<?
}
?>
</table>
<? } ?>
</center></div>
</body>
</html>
voila, pouvez vous m'aidez svp ??

Merci beaucoup
Ciao