Ver Mensaje Individual
  #3 (permalink)  
Antiguo 16/10/2008, 14:57
Avatar de webelgrillo
webelgrillo
 
Fecha de Ingreso: marzo-2008
Mensajes: 142
Antigüedad: 16 años, 1 mes
Puntos: 0
Respuesta: Include Dentro de una Variable

Actualmente mi codigo esta asi pero tengo un problea que el codigo se esta mostrando en la pestaña tambien como podria solucionar esto.

Código PHP:
<table width="400px" border="0" cellspacing="0" cellpadding="0">
  <tr>
<?php
$gene 
'generos.php'

?>
    <td width="100"><div align="center" class="pest"><a href="javascript:void(0);" onclick="MM_setTextOfLayer('cat','','<?php include($gene);?>')">Categorias</a></div></td>
    <td width="100"><div align="center" class="pest"><a href="javascript:void(0);" onclick="MM_setTextOfLayer('cat','','hola soy AYUDA')">Ayuda</a></div></td>
    <td width="248"><div class="fav"><a href="javascript:window.external.AddFavorite('http://www.dominio.com','dominio.com - Descargas gratis');"><img src="images/star.gif" width="22" height="20" border="0" align="absmiddle"> Favoritos</a></div></td>
  </tr>
  <tr>
    <td colspan="3"><div id="cat"><?php include($gene);?></div></td>
  </tr>
</table>
esta tabla es un cuadro con dos pestañas si le hacen clic muestra un div debajo pero tiene error ayuda porfa.