RE: [PEAR-DEV] yet another template

From: Date: Wed, 07 Nov 2001 21:26:28 +0000
Subject: RE: [PEAR-DEV] yet another template
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-2629@lists.php.net to get a copy of this message
Hi all, Maybe we can forget all about which template to use. We can use old school way of PHP like this. <HTML> <?php include_once($header_file); ?> <BODY> <P> <?=$welcome_text?> </P> <?php foreach($menus AS $menu_name => $menu_attr) { ?> <A href="<?=$menu_attr?>"><?=$menu_name?></a><BR/> <?php } ?> </BODY> </HTML> And then we can just include this file in script containing logic. I think learning how to write this code is not so much difficult. This makes my class totaly useless..... Naoki Shima

« previous php.pear.dev (#2629) next »