Bonjour,
alors je crée tranquillement un site, et j'utilise le php. cela fait bien 6 mois que je n'ai pas touché à ce langage, alors j'ai qq trous de mémoire.

là je fais ma page index et ensuite ma page accueil qui serait chargée au démarrage du site.
donc sur ma page index, j'ai mon menu qui se charge, ainsi que la page appelée, ici la page acceuil :

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
82
83
84
85
86
87
88
89
90
91
92
<? 
require ("config/config.inc.php");
 
//Recuperation de la page à charger dans le calque principal
if (isset($_GET["page"])){
        $page= $_GET["page"];
        }
    else {
        $page="accueil.php";
        }
?>
 
<html>
<head>
<title>Centre Equestre Poney-Club de Goumat</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body,td,th {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #792A30;
}
body {
    background-color: #F0EAEE;
}
-->
</style></head>
<body>
<table width="100%"  border="0">
  <tr>
    <td align="center" valign="top">
      <p align="center"><img src="logo_goumat.jpg" width="702" height="90"></p>
      <p></p>
      <p align="left"><? include("menu.php"); ?></p>
    </td>
  </tr>
</table>
<table width="100%"  border="0">
  <tr>
    <td align="center" valign="top">      
<?php include($page); ?></td>
  </tr>
</table>
<table width="100%"  border="0">
  <tr>
    <td align="center">    <span class="Style2">Copyright 2006 ----- <a href="http://www.goumat.fr/" target="_blank">http://www.goumat.fr</a> ----- Tous droits r&eacute;serv&eacute;s  </span></td>
  </tr>
</table>
</body>
</html>
[/quote] 
et la page accueil : 
[quote]<?
require('config/config.inc.php');
?>
 
 
<body>
    <table width="708"  border="0" align="center" valign="top" bordercolor="#000000">
        <tr>
            <td width="702" height="99" align="center" valign="top"><p align="center">        
 
Bonjour<p align="center" valign="top">
                <?
// mettre les nouveautés
 // Sélection de la table news
$retour = mysql_query("SELECT * FROM news");
    while ($donnees = mysql_fetch_array($retour)){ 
        echo $donnees['texte'];
        echo "<br>";
        echo "<br>";
    }
 
 
 
// Déconnexion de MySQL
mysql_close(); 
?>
 
              </td>
        </tr>
</table>        
    <p align="center" valign="top"><p align="center" class="Style4"> <script type="text/javascript" language="javascript" src="http://www.i-services.net/membres/compteur/compteur.php?user=31210&idcpt=64410&cache=0&read_only=0"></script>
<?
echo 'Dernière modification le ';
echo date("d m y", getlastmod()); 
 
?></p>
    </p>
</body>
</html>
or, là qd la page s'affiche, j'ai bien mon menu à gauche, mais la page d'acceuil s'affiche en bas. c'est à dire après le menu, au milieu de la page..... je n'arrive pas à trouver mon erreur, pouvez vous m'aider ? Merci