Re: how to include a poll booth application

From: Date: Mon, 02 Apr 2001 07:11:44 +0000
Subject: Re: how to include a poll booth application
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-506@lists.php.net to get a copy of this message
Hi, Oguz Altun wrote: > In the docs there is an insert builtin function. Is it a better idea to use > that instead of the one above? > Thanks. You shouldn't use {include} to include other php applications. It is designed to include other templates. Using <?php include(); ?> should work, but you have to make sure that you have set $php_handling to SMARTY_PHP_ALLOW; in Smarty.class.php. The {insert} function is probably the best way to do this though. Greetings, Ivo -- Ivo Jansch <ivo@ibuildings.nl> ibuildings.nl BV - information technology http://www.ibuildings.nl

« previous php.smarty.general (#506) next »