More newbie questions
| From: | Robin Kopetzky | Date: | Mon, 26 Jan 2004 19:11:38 +0000 |
| Subject: | More newbie questions | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-10875@lists.php.net to get a copy of this message | ||
Good afternoon!
In my converting this program, I have many places in the original 'template'
file that are like this:
example 1) <TD><?php echo SomeFunction($blah, $foo, $bar); ?><TD>
or
example 2) <?php require "some_file.php"; ?>
Do I use {php}blah-blah{/php) on the first example and {include
file="some_file.php") on the second or is there a better way?
The documentation says nothing about calling user-defined functions in
Smarty.
Thanks in advance.
Robin 'Sparky' Kopetzky
Black Mesa Computers/Internet Service
Grants, NM 87020