Re: incluir texto en un archivo html
| From: | Caco Patane | Date: | Mon, 02 Jan 2006 18:53:36 +0000 |
| Subject: | Re: incluir texto en un archivo html | ||
| References: | 1 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-57159@lists.php.net to get a copy of this message | ||
Pablo,
Podes incluir el archivo HTML directamente con include, sin necesidad
de usar el print.
Tu index.php podria ser de la siguiente manera:
<?php
include ('cabecera.html');
include ('contenido.html');
include ('fin.html');
?>
Tendria incluidos esos html uno bajo el otro.
Saludos,
Caco_Patane <!>
--
And the void rumbles in
Like an underground train
Forever comes closer
The world is in pain
We all must be shown, we must realise
That everyone changes and everything dies
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT dpu s:-- a-- C++ UL+++ P-- L++ E--- W+++ N o-- K- w---
O---- M V- PS+++ PE-- Y+ PGP t+ 5-- X+ R+++ tv-- b++ DI-- D++
G++ e h+ r-- y**
------END GEEK CODE BLOCK------