hi guyz 

i just read something about templates
& im trying to make this example in professional php
programming (wrox)

but i keep getting these errors:


Warning: Failed opening 'class.FastTemplate.php' for
inclusion
(include_path='C:\WINDOWS\system32\inetsrv\php\pear')
in e:\final project\zroot\temptry.php on line 4

Fatal error: Cannot instantiate non-existent class:
fasttemplate in e:\final project\zroot\temptry.php on
line 6

the code is :



<?php
        include "class.FastTemplate.php";

        $tpl = new FastTemplate(" . ");

        $tpl->define (array(
        
                        "toplevel" => "toplevel.tpl"));

        $tpl->assign("TITLE","zzz");

        $tpl->assign("CONTENT","fill it up ");

        $tpl->parse("MAIN","toplevel");

        $tpl->FastPrint();



?>



i ve just a littlt bit of programming experience
so pardon me for my ignorence


thnx a million in advance ....

toby .....

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to