Bonjour,
J'ai un souci pour l'inclusion de page dans un site.
Voici le code :
La page index.php :
La page detail_compte :
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 <table width="335" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="6" height="4"><img src="img/coin_haut_gauche.gif" width="6" height="4"></td> <td background="img/line_haut.gif"></td> <td width="5"><img src="img/coin_haut_droite.gif" width="6" height="4"></td> </tr> <tr> <td background="img/line_gauche.gif"></td> <td class="contenu2"> <?php if( $_SESSION["login_user"] == "") include "login.php"; else if( $var["idcpt"] == "0") include "liste_comptes.php"; else include "detail_compte.php"; ?> </td> <td background="img/line_droite.gif"> </td> </tr> <tr> <td height="4"><img src="img/coin_bas_gauche.gif" width="6" height="4"></td> <td background="img/line_bas.gif" height="4"></td> <td height="4"><img src="img/coin_bas_droite.gif" width="6" height="4"></td> </tr> </table>
Le souci est que lors de l'affichage, il n'affiche pas la fin du tableau de la page index.php.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13<form name='form_compte' method='post' action='apcea.php'> <br> <center><b><u>Compte</u> : </b></center> <br> <table align="center" border="0" width="75%"> <tr align="center"> <td> blabla </td> </tr> </table> </form>
Je regarde dans le source du navigateur et c'est la fin de la page inclue qui est affichée et non pas la fin de la page index.php
Avez vous déjà eu ce genre d'ennuis ?
Merci par avance
Ps : le display_error est à On et il n'y a rien de probant dans le error_log de httpd...







Répondre avec citation






Partager