bonjour a tous...
Voici mon probléme..
J'ai des liens dans la page menu.php que voici
je charge la page a partir de mon index que voici.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5 <b>>> </b><a href="index.php?AffichePage=Accueil" class="menu">Accueil</a></center>?> <br> <b>>> </b><a href="index.php?AffichePage=Inscription" class="menu">Inscription</a></center> <br> <b>>> </b><a href="index.php?AffichePage=Produit" class="menu">Liste Des Produits</a></center>
le prob est que quand je charge pour la premiere fois ma page index.php il me met que
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 <table width="100%" border="0"> <tr> <td width="20%" valign="top"><? include 'menu.php' ?></td> <td width="1" bgcolor="#586899" valign="top"></td> <td width="100%" valign="top"><? switch($_GET[AffichePage]) { case'Produit':include('Magasin.html'); break; case'Inscription':include('inscription.php'); break; case'Accueil':include('navi.php'); break; default: include('navi.php'); } ?></td> </tr> </table>merci d'avanceNotice: Use of undefined constant AffichePage - assumed 'AffichePage' in c:\program files\easyphp1-8\www\site + design\index.php on line 46
Partager