embedd PHP-Code in a template

From: Date: Sun, 03 Mar 2002 13:46:02 +0000
Subject: embedd PHP-Code in a template
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-2921@lists.php.net to get a copy of this message
Isn't it possible to embedd some PHP-Code in a template-file? The following code works fine, but "HALLO" will not be shown!! <HTML> <TITLE>EINZELANSICHT</TITLE> <BODY> {config_load file="test.conf.php"} <table border=1 cellpadding=2 cellspacing=2 bgcolor={#bgcolor#}> {section name=id loop=$veranstaltung} <tr> <td class="kleinb"bgcolor={#tablecolor#}>{$veranstaltung[id]}</td> </tr> <tr> <td>{$motto[id]}</td> </tr> <tr> <td>{$aktiv[id]}</td> </tr> {/section} <? echo "HALLO;"; ?> </table> </BODY> </HTML>

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