Re: PHP Template (smarty)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




°lJ°l> the biggest reason behind templates was to seperate php
°lJ°l> code from presentation. and if you want to use array then
°lJ°l> personally i think you are missing the idea behind templates.

well, using array/variable does separate php code from presentation,
see my example on my first post.

on the template file, there is only <?php echo "$table"; ?> syntax,
nothing else.

how hard to understand an echo syntax?

please give me some enlightment, i'm on searching why template engine
should use str_replace() function. (read tpl files, find & replace
{tag}, include tpl file to php file).


thanks,
Markus



PHP Data object relational mapping generator - http://www.meta-language.net/ 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-objects/

<*> To unsubscribe from this group, send an email to:
    php-objects-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 




[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux