Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

jak wyświetlić wartość z

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: Polish
View previous topic :: View next topic  
Author Message
znyk
Smarty n00b


Joined: 22 Nov 2009
Posts: 4

PostPosted: Sat Jan 16, 2010 6:29 pm    Post subject: jak wyświetlić wartość z Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: Polish All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP