<?php include_path = ".;C:usrApache2htdocssmartylibs\" ?>
Zrestartowałam serwer.
Mój plik sample.php wygląda tak:
<? include('Smarty.class.php'); $smarty = new Smarty(); $smarty->assign("name", "Andrzej"); $smarty->assign("greetings", "dzień dobry"); $smarty->display("sample.tpl"); ?>
a sample.tpl tak
Ja wchodzę na sample.php to mi się wyświetla napis:
assign("name", "Andrzej"); $smarty->assign("greetings", "dzień dobry"); $smarty->display("sample.tpl"); ?>
Why?





