
24/03/2005, 09:43
|
| | Fecha de Ingreso: diciembre-2003
Mensajes: 1.583
Antigüedad: 21 años, 3 meses Puntos: 13 | |
$texto te devuelve un valor "boolean":
1 o True si la función include se ejecutó correctamente.
0 o False si la función include ha fallado.
$texto = include($noticia); eso incluye el contenido del .txt y lo muestra, no necesitas imprimir nada más.
function imprime_noticia($a){
$noticia="noticia" . $a . ".txt";
$texto=include($noticia);
} |