|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
znyk Smarty n00b
Joined: 22 Nov 2009 Posts: 4
|
Posted: Sat Jan 16, 2010 6:29 pm Post subject: jak wyświetlić wartość z |
|
|
W index.php mam:
Code: |
$smarty->assign('login', $login);
$smarty->assign('email', $email);
$smarty->assign('tytul', 'Portal spolecznosciowy');
$smarty->assign('opis', 'To jest szkielet portalu spolecznosciowego.');
$smarty->display('index.tpl');
|
zaś w pliku .tpl
Code: | <label>Witaj:</label><p>{$login}</p>
<br>
<p>{$email}</p>
|
i nic sie nie wyświetla co jest źle ? |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|