Ver Mensaje Individual
  #2 (permalink)  
Antiguo 13/08/2007, 13:01
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Re: colocar codigo php dentro de un contenido html

La forma que lo estas planeando no es posible, tendrias que construir tu string de una forma diferente, algo asi:
Código PHP:
function mifuncion(){
print(
" como estas");
}

$content = <<<HTML
<table border="2">
<tr>
<td>
hola %s
</td>
</tr>
</table>
HTML;

printf($contentmifuncion()); 
Saludos.