RE: [PHP] Help! What about this method to separate HTML code from PHP code?
| From: | David Christensen | Date: | Sat, 24 Aug 2002 22:16:39 +0000 |
| Subject: | RE: [PHP] Help! What about this method to separate HTML code from PHP code? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-113983@lists.php.net to get a copy of this message | ||
Why not use FastTemplate?
http://www.thewebmasters.net/php/
On Sat, 2002-08-24 at 11:23, Dave at Sinewaves.net wrote:
> Yes. Good. :)
>
> <snip>
> // <====method====>
> //
> // I put the HTML code into a file, and use it by "include" or "require".
> //
> // <---index.html.php--->
> //
> // <html>
> // <body>
> // This is a example file!
> // </body>
> // </html>
> //
> // <---index.php--->
> //
> // <?
> // include "index.html.php";
> // ?>
> //
> // Can you tell me this method is good?
> // If not, please tell me the best method!
> // Thank you!!!
> </snip>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>