Ver Mensaje Individual
  #2 (permalink)  
Antiguo 16/10/2008, 14:43
Avatar de RollerSky
RollerSky
 
Fecha de Ingreso: marzo-2008
Mensajes: 123
Antigüedad: 16 años, 1 mes
Puntos: 8
Respuesta: Include Dentro de una Variable

No te va a servir porque el te imprime es un String no una funcion.. segun tengo entendido.

eso lo podrias hacer mas facil:

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 echo '$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','midominio.com - Descargas gratis');"><img src="http://www.forosdelweb.com/images/star.gif" width="22" height="20" border="0" align="absmiddle"> Favoritos</a></div></td> 
  </tr> 
  <tr> 
    <td colspan="3"><div id="cat"><?php incluide($gene);?></div></td> 
  </tr> 
</table>