Ver Mensaje Individual
  #7 (permalink)  
Antiguo 21/12/2005, 15:27
Avatar de helthon
helthon
 
Fecha de Ingreso: junio-2005
Ubicación: Lima
Mensajes: 549
Antigüedad: 18 años, 10 meses
Puntos: 7
Sorry GaboMaKano por kitarte el sueño

Lo que deseo es esto :

index.php
Código PHP:
<html>
<head>
</head>
<body>
<?php
$admin 
$_GET["modulo"] ;
if(
$modulo == ""){
    
$modulo="home";
}
?>
<table width="500" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td height="50" colspan="2"><div align="center"><strong>CABEZARA</strong></div></td>
  </tr>
  <tr>
    <td width="67"><a href="index.php?modulo=pagina1">Enlace1</a><br>
      <a href="index.php?modulo=ejemplos2&banner=publicidad">Enlace2</a><br>
    Enlace3 </td>
    <td width="433" valign="top"><?php include($modulo.".php");?></td>
  </tr>
</table>
</body>
</html>

Si llamo a los enlaces cargan gracias a <?php include($modulo.".php");?>

Pero si llamo a mi segundo enlace quiero que carge esa pagina ejemplos2.php y que a la vez cargue la pagina plucidad.php, quise llamarlo asi : index.php?modulo=ejemplos2&banner=publicidad

Pagina ejemplos2.php
Código PHP:
<table width="500" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="360">bla bla bla bla bla </td>
    <td width="140"><?php echo $_GET["banner"]; //Aqui que aparezca la pagina publicidad.php ?></td>
  </tr>
</table>
Pagina Publicidad.php
Código PHP:
<table width="153" height="143" border="0" cellpadding="0" cellspacing="0">
  <
tr>
    <
td bgcolor="#CCCCCC"><div align="center"><img src="imagenes/productos/RO-19_2005.jpg" width="152" height="287"></div></td>
  </
tr>
</
table
Si esa forma no es segura como se podria realizar..?
Gracias nicolaspar y javifo
__________________
HELTHON FUENTES
FLORERIA FLORES PERU Floresperu.com.pe
Garantizamos que cada entrega de flores será de la más alta calidad y frescura