Bonjour
je suis en train de faire une base de donnée avec php-mysql
dans la maquette mais mon problème lorsque je clique sur un menu, le fichier lie, ne s'ouvre dans la fenêtre indiquer
la paqe par defaut qui est la page d'accueil s'affiche mais le clic sur le menu afficher le nom du fichier dans la barre d'adresse url mais la page elle meme ne s'affiche pas.
voici les codes
page index.php
page banner.php
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 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Gestion des Projets</title> </head> <body> <table width="900" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td height="98" colspan="2" valign="top" bgcolor="#99CC00"> <?php include('banners.php');?></td> </tr> <tr> <td width="150" height="626" valign="top" bgcolor="#66FF66"> <?php include('menus.php');?></td> <td width="751" valign="top"> <?php switch (@$_GET['page']) { case 'page_accueil': include('page_accueil.php'); case 'page_projet':include('page_projet.php'); case 'page_tache':include('page_tache.php'); case 'page_client':include('page_client.php'); default:include('page_accueil.php'); } ?> </td> </tr> <tr> <td height="76" colspan="2" valign="top" bgcolor="99CC00"><!--DWLayoutEmptyCell--> </td> </tr> </table> </body> </html> ;
page menu.php
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11 <style type="text/css"> <!-- .Style1 { font-size: 24px; font-weight: bold; } --> </style> <div> <div align="center" class="Style1">Gestion des projets</div> </div>
page accueil.php
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11 <style type="text/css"> <!-- .Style1 { font-size: 24px; font-weight: bold; } --> </style> <div> <div align="center" class="Style1">Gestion des projets</div> </div>
page client.php
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6 <style type="text/css"> <!-- .Style1 {font-size: 24px} --> </style> <span class="Style1">Page Accueil</span>
lorsque je client sur menu client, la page ne s'affiche pas ne sait quel est le problème.
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 <div> <div> Page Clients </div> <div> </div> </div> <form name="form1" method="post" action=""> <table width="554" border="0" align="center"> <tr> <td width="167">Code Client </td> <td width="377"><label> <input name="Code_client" type="text" id="Code_client"> </label></td> </tr> <tr> <td>Nom Client </td> <td><label> <textarea name="Nom_Client" cols="60" id="Nom_Client"></textarea> </label></td> </tr> <tr> <td>Contact Client </td> <td><label> <textarea name="Contact_Client" cols="60" id="Contact_Client"></textarea> </label></td> </tr> <tr> <td><label> <div align="center"> <input type="submit" name="Submit" value="Enregistrer"> </div> </label></td> <td><label> <div align="center"> <input name="Reset" type="submit" id="Reset" value="Annuler"> </div> </label></td> </tr> </table> </form>
mais la page par defaut s'affiche.
si je peux avoir un coup de pouce
Partager