|
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: Sun Nov 22, 2009 1:52 pm Post subject: problem nowicjusz |
|
|
W pliku foot.tpl mam:
Code: | <table>
<tr><td><b><i><sub>© {$autor}</sub></i></b></td></tr>
</table>
</body>
</html> |
a w pliku foot.php:
Code: | <?php
smarty->assign("autor", "Marcin Razynski");
?> |
i pokazuje mi błąd:
Parse error: parse error, unexpected T_OBJECT_OPERATOR in C:\Program Files\xampp\htdocs\smarty\foot.php on line 3
co jest źle ? |
|
Back to top |
|
fornve Smarty Rookie
Joined: 25 Apr 2008 Posts: 29 Location: Sheffield, UK
|
Posted: Fri Jan 08, 2010 12:36 am Post subject: |
|
|
Code: | <?php
$smarty->assign("autor", "Marcin Razynski");
?> |
Zapomniales $
Uprzedzajac kolejny blad, czy $smarty jest zadeklarowane wczesniej?
Pozdrawiam,
Marek |
|
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
|