_sasha86_ Новичок 18 Мар 2006 #1 Smarty: Как выполнить код в переменной ????? Есть код: PHP: <? $data = "{php}include('test.php');"; $smarty->assign('data', $data); $smarty->display('index.html'); ?> Шаблон index.html: {$data} ==================================== Как сделать так, чтобы этот код выполнялся
Smarty: Как выполнить код в переменной ????? Есть код: PHP: <? $data = "{php}include('test.php');"; $smarty->assign('data', $data); $smarty->display('index.html'); ?> Шаблон index.html: {$data} ==================================== Как сделать так, чтобы этот код выполнялся