Re: Mixing PHP code with phplib templates... possible?
| From: | Max A. Derkachev | Date: | Tue, 06 Feb 2001 08:16:54 +0000 |
| Subject: | Re: Mixing PHP code with phplib templates... possible? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-38363@lists.php.net to get a copy of this message | ||
Hello derek,
Tuesday, February 06, 2001, 2:28:23 AM, you wrote:
df> Hi,
df> Is there a way to embed PHP code in phplib's template files?
No.
df> I need
df> to run all hyperlinks through a function in order to maintain state
df> and pass other variables from script to script. I figure this must
df> be possible, but I'm new at using phplib, so I'm not all that clear
df> on it...
Set the links as template variables and then substitute them with
values using Template's set_var().
--
Best regards,
Max A. Derkachev mailto:kot@books.ru
Symbol-Plus Publishing Ltd.
phone: +7 (812) 324-53-53
http://www.Books.Ru -- All Books of Russia