Ver Mensaje Individual
  #2 (permalink)  
Antiguo 03/01/2009, 05:57
Avatar de jcxnet
jcxnet
 
Fecha de Ingreso: octubre-2005
Ubicación: Perú
Mensajes: 784
Antigüedad: 19 años, 5 meses
Puntos: 56
Respuesta: almacenar funcion

Debería ser
Código PHP:
public function DisplayMeta()
{
return 
'
<title>'
.$this->title.'</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta name="description" content="'
.$this->descripcion.'" />
<meta name="keywords" content="'
.$this->keywords.'" />
<link rel="stylesheet" href="'
.$this->csslinks.'" type="text/css" />';
}

...

public 
$page $this -> DisplayMeta(); 
así el texto es tomado por la variable, de la otra manera se envía directo al navegador
__________________
►I'm a devil on the run ♂
Jcxnet.com
*Keep It Simple **